Fixed few lint errors

This commit is contained in:
Cornelius Matějka 2017-11-22 19:32:06 +01:00
parent e7dcd7f500
commit 5c803656f2

View file

@ -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) => {