code cosmetics: contextMenus use prefs.subscribe()

This commit is contained in:
tophf 2017-04-21 12:44:06 +03:00
parent 468a758cec
commit 47eefd1cd2

View File

@ -197,13 +197,6 @@ var prefs = new function Prefs() {
}
}
}
if (typeof contextMenus !== 'undefined') {
for (const id in contextMenus) {
if (typeof values[id] == 'boolean') {
this.broadcast(id, values[id], {sync: false});
}
}
}
});
chrome.storage.onChanged.addListener((changes, area) => {