From 4bc7b55b916a5c13931cdfef5a3ac367b8f8afc4 Mon Sep 17 00:00:00 2001 From: tophf Date: Thu, 30 Mar 2017 08:26:28 +0300 Subject: [PATCH] apply.js: a bad typo caused ghosts to linger --- apply.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apply.js b/apply.js index b0bf330e..4def780c 100644 --- a/apply.js +++ b/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()); }