Remove unused variables
This commit is contained in:
parent
0056c5fec4
commit
f9b59a1433
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
});
|
||||
|
|
Reference in a new issue