From 764cd1b6deff967f0efe6f8b61a4e0236124415f Mon Sep 17 00:00:00 2001 From: tophf Date: Sun, 19 Mar 2017 01:57:19 +0300 Subject: [PATCH] Use the synced show-badge preference on startup --- storage.js | 1 + 1 file changed, 1 insertion(+) diff --git a/storage.js b/storage.js index 6a06bb7c..47c56c9a 100644 --- a/storage.js +++ b/storage.js @@ -419,6 +419,7 @@ var prefs = chrome.extension.getBackgroundPage().prefs || new function Prefs() { } // make sure right click context menu is in the right state when prefs are loaded chrome.contextMenus.update("disableAll", {checked: prefs.get("disableAll")}); + chrome.contextMenus.update("show-badge", {checked: prefs.get("show-badge")}); }); chrome.storage.onChanged.addListener(function(changes, area) {