From 5c803656f2d5546e90a1297ef9a2149e488d04b3 Mon Sep 17 00:00:00 2001 From: Cornelius Matějka Date: Wed, 22 Nov 2017 19:32:06 +0100 Subject: Fixed few lint errors --- src/background/tabs.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/background') diff --git a/src/background/tabs.js b/src/background/tabs.js index e02932a..e939870 100644 --- a/src/background/tabs.js +++ b/src/background/tabs.js @@ -10,10 +10,10 @@ browser.tabs.onActivated.addListener((activeInfo) => { const closeTab = (id) => { return browser.tabs.get(id).then((tab) => { - if(!tab.pinned) { + if (!tab.pinned) { return browser.tabs.remove(id); } - }) + }); }; const closeTabForce = (id) => { -- cgit v1.2.3