aboutsummaryrefslogtreecommitdiff
path: root/src/background/tabs.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/background/tabs.js')
-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) => {