diff --git a/src/bg/main.js b/src/bg/main.js index ea0ccbd..91fb98c 100644 --- a/src/bg/main.js +++ b/src/bg/main.js @@ -224,7 +224,7 @@ async getTheme(msg, {tab, frameId}) { let code = await Themes.getContentCSS(); if (!ns.local.showProbePlaceholders) { - code += `\n.__NoScript_Offscreen_PlaceHolders__ {display: none }`; + code += `\n.__NoScript_Offscreen_PlaceHolders__ {display: none}`; } try { browser.tabs.insertCSS(tab.id, { @@ -237,7 +237,7 @@ } catch (e) { console.error(e); } - return (await Themes.isVintage()) ? "vintage" : ""; + return {"vintage": await Themes.isVintage()}; }, async promptHook(msg, {tabId}) { diff --git a/src/nscl b/src/nscl index 1b68cfc..90cd2db 160000 --- a/src/nscl +++ b/src/nscl @@ -1 +1 @@ -Subproject commit 1b68cfc14a89f3c4222c7103b14e41eda991489b +Subproject commit 90cd2dba0a7e2c6bda1e742a1613a20f16859fe8