Fixed few lint errors

jh-changes
Cornelius Matějka 7 years ago
parent e7dcd7f500
commit 5c803656f2
  1. 4
      src/background/tabs.js

@ -10,10 +10,10 @@ browser.tabs.onActivated.addListener((activeInfo) => {
const closeTab = (id) => { const closeTab = (id) => {
return browser.tabs.get(id).then((tab) => { return browser.tabs.get(id).then((tab) => {
if(!tab.pinned) { if (!tab.pinned) {
return browser.tabs.remove(id); return browser.tabs.remove(id);
} }
}) });
}; };
const closeTabForce = (id) => { const closeTabForce = (id) => {