fix view js a bit
This commit is contained in:
parent
3acc3fa607
commit
47dfc2c36e
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ function clearViewMode() {
|
||||||
function updateAttr(selector, attr, value) {
|
function updateAttr(selector, attr, value) {
|
||||||
document.querySelectorAll(selector).forEach(function(e) {
|
document.querySelectorAll(selector).forEach(function(e) {
|
||||||
let current = e.getAttribute(attr);
|
let current = e.getAttribute(attr);
|
||||||
let newval = joinUrlSegments(current, query);
|
let newval = joinUrlSegments(current, value);
|
||||||
e.setAttribute(attr, newval);
|
e.setAttribute(attr, newval);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue