change color of back panel on the browserAction
This commit is contained in:
@@ -242,15 +242,15 @@ function themeWindow(window) {
|
||||
|
||||
function gotAllThemes(infoArray) {
|
||||
for (const info of infoArray) {
|
||||
if (info.type === "theme") {
|
||||
if (info.type === 'theme') {
|
||||
if (info.enabled) {
|
||||
console.log("(theme) found enabled theme in list", info.id);
|
||||
console.log('(theme) found enabled theme in list', info.id);
|
||||
|
||||
async function resetEnabled(disabled) {
|
||||
console.log("(theme) disabled theme temporarily", info.id);
|
||||
console.log('(theme) disabled theme temporarily', info.id);
|
||||
|
||||
function logReset(prom) {
|
||||
console.log("(theme) re-enabled:", info.id);
|
||||
console.log('(theme) re-enabled:', info.id);
|
||||
}
|
||||
|
||||
function sleep(ms) {
|
||||
@@ -527,4 +527,4 @@ if (browser.windows != undefined) {
|
||||
console.log("windows unavailable on android", browser.runtime.PlatformOs);
|
||||
browser.windows.onRemoved.addListener(onClosedWindowCheck);
|
||||
browser.windows.onCreated.addListener(onOpenedWindowCheck);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user