Fix linter error

jh-changes
Daniel Campoverde 7 years ago
parent 6fc5d06205
commit 70a47fdaee
  1. 6
      src/background/tabs.js

@ -1,12 +1,10 @@
let prevSelTab = 1;
let currSelTab = 1;
browser.tabs.onActivated.addListener(tabChangeHandler);
function tabChangeHandler(activeInfo) {
browser.tabs.onActivated.addListener((activeInfo) => {
prevSelTab = currSelTab;
currSelTab = activeInfo.tabId;
}
});
const closeTab = (id) => {
return browser.tabs.remove(id);