diff options
author | Daniel Campoverde <alx@sillybytes.net> | 2017-11-06 11:03:26 -0500 |
---|---|---|
committer | Daniel Campoverde <alx@sillybytes.net> | 2017-11-26 12:39:09 -0500 |
commit | 9c1bc5552a0b2ee5899bffeecc2af5eeeea9f78b (patch) | |
tree | 0a690e88b30ab150e57d1f3776ad45791fc444a9 | |
parent | 94dedbd0e9b872934ee1d7a6250dcffffd82bed6 (diff) |
Format lines to 80 chars
-rw-r--r-- | src/background/tabs.js | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/background/tabs.js b/src/background/tabs.js index a908d17..2bf780a 100644 --- a/src/background/tabs.js +++ b/src/background/tabs.js @@ -113,11 +113,12 @@ const selectLastTab = () => { const selectPrevSelTab = () => { let tmpPrevSelTab = null; - return browser.tabs.query({ currentWindow: true, active: true }).then((tabs) => { - tmpPrevSelTab = tabs[0].id; - browser.tabs.update(prevSelTab, { active: true }); - prevSelTab = tmpPrevSelTab; - }); + return browser.tabs.query({ currentWindow: true, active: true }).then( + (tabs) => { + tmpPrevSelTab = tabs[0].id; + browser.tabs.update(prevSelTab, { active: true }); + prevSelTab = tmpPrevSelTab; + }); }; const reload = (current, cache) => { |