diff --git a/content/apply.js b/content/apply.js index b28fd434..da31ee6f 100644 --- a/content/apply.js +++ b/content/apply.js @@ -277,7 +277,7 @@ function replaceAll(newStyles) { oldStyles.forEach(el => (el.id += '-ghost')); styleElements.clear(); disabledElements.clear(); - [...retiredStyleTimers.values()].forEach(clearTimeout); + Array.prototype.slice.call(retiredStyleTimers.values()).forEach(clearTimeout); retiredStyleTimers.clear(); applyStyles(newStyles); oldStyles.forEach(el => el.remove());