Fixed few lint errors
This commit is contained in:
parent
e7dcd7f500
commit
5c803656f2
1 changed files with 2 additions and 2 deletions
|
@ -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) => {
|
||||||
|
|
Reference in a new issue