apply.js: a bad typo caused ghosts to linger

This commit is contained in:
tophf 2017-03-30 08:26:28 +03:00
parent 1bf23046d5
commit 4bc7b55b91

View File

@ -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());
}