From 593bea6b26281c9153cffcf0ca0feefbf92899a9 Mon Sep 17 00:00:00 2001 From: Corey Farwell Date: Tue, 20 Feb 2018 08:43:02 -0500 Subject: [PATCH] =?UTF-8?q?semicolon=20police=20=F0=9F=91=AE=E2=80=8D?= =?UTF-8?q?=E2=99=80=EF=B8=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/background.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/background.js b/src/background.js index dff06cb..872094c 100644 --- a/src/background.js +++ b/src/background.js @@ -59,7 +59,7 @@ browser.tabs.onRemoved.addListener(tabId => { getUnpinnedTabs() .then(tabs => tabs.filter(tab => tab.id !== tabId)) .then(tabs => setTabCountIntoStorage(tabs.length)); -}) +}); browser.storage.onChanged.addListener(changes => { if (changes.hasOwnProperty(storageTabCountKey)) { @@ -88,7 +88,7 @@ const getBadgeBackgroundColor = tabCount => { return badgeBackgroundColorRed; } }); -} +}; const setTabCountIntoStorage = tabCount => { return browser.storage.local.set({[storageTabCountKey]: tabCount}); -- 2.51.2