From 47eefd1cd2fb518da9525e84c1c90c509ab610e9 Mon Sep 17 00:00:00 2001 From: tophf Date: Fri, 21 Apr 2017 12:44:06 +0300 Subject: [PATCH] code cosmetics: contextMenus use prefs.subscribe() --- prefs.js | 7 ------- 1 file changed, 7 deletions(-) diff --git a/prefs.js b/prefs.js index 771945b0..b6de008f 100644 --- a/prefs.js +++ b/prefs.js @@ -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) => {