Skip to content

Commit f143914

Browse files
committed
Change other instances of "const"
1 parent b08e165 commit f143914

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

js/scriptsafe.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -440,8 +440,8 @@ function setDefaultOptions() {
440440
chrome.browserAction.setBadgeBackgroundColor({color:[208, 0, 24, 255]});
441441
}
442442
function updateCount(tabId) {
443-
const TAB_ITEMS = ITEMS[tabId] || (ITEMS[tabId] = [0]);
444-
const TAB_BLOCKED_COUNT = ++TAB_ITEMS[0];
443+
var TAB_ITEMS = ITEMS[tabId] || (ITEMS[tabId] = [0]);
444+
var TAB_BLOCKED_COUNT = ++TAB_ITEMS[0];
445445
chrome.browserAction.setBadgeBackgroundColor({ color: [208, 0, 24, 255], tabId: tabId });
446446
chrome.browserAction.setBadgeText({tabId: tabId, text: TAB_BLOCKED_COUNT + ''});
447447
}

0 commit comments

Comments
 (0)