apply.js: a bad typo caused ghosts to linger
This commit is contained in:
parent
1bf23046d5
commit
4bc7b55b91
2
apply.js
2
apply.js
|
@ -330,7 +330,7 @@ function replaceAll(newStyles, doc) {
|
|||
function replaceAllpass2(newStyles, doc) {
|
||||
const oldStyles = [...doc.querySelectorAll('STYLE.stylus[id$="-ghost"]')];
|
||||
processDynamicIFrames(doc, replaceAllpass2, newStyles);
|
||||
oldStyles.forEach(e => e.remove);
|
||||
oldStyles.forEach(e => e.remove());
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user