aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCornelius Matějka <matejka.cornelius@mailbox.org>2017-11-22 19:32:06 +0100
committerCornelius Matějka <matejka.cornelius@mailbox.org>2018-01-14 17:19:02 +0100
commit5c803656f2d5546e90a1297ef9a2149e488d04b3 (patch)
treee2ce76408ecc1ef890a3ee376639250fc8eb16f4
parente7dcd7f500f9c139835313a573f861a10aa49d18 (diff)
Fixed few lint errors
-rw-r--r--src/background/tabs.js4
1 files changed, 2 insertions, 2 deletions
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) => {