aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/background/tabs.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/background/tabs.js b/src/background/tabs.js
index f44f173..5ed5bdf 100644
--- a/src/background/tabs.js
+++ b/src/background/tabs.js
@@ -2,7 +2,7 @@ let prevSelTab = 1;
let currSelTab = 1;
browser.tabs.onActivated.addListener((activeInfo) => {
- return browser.tabs.query({ currentWindow: true }).then((tabs) => {
+ return browser.tabs.query({ currentWindow: true }).then(() => {
prevSelTab = currSelTab;
currSelTab = activeInfo.tabId;
});