diff --git a/background/style-via-api.js b/background/style-via-api.js index 664a1ecb..8bdde4b9 100644 --- a/background/style-via-api.js +++ b/background/style-via-api.js @@ -129,6 +129,8 @@ const styleViaAPI = !CHROME && (() => { const tasks = Object.keys(frameStyles) .map(id => removeCSS(tab.id, frameId, frameStyles[id].join('\n'))); return Promise.all(tasks); + } else { + return NOP; } }