|
|
@ -113,7 +113,8 @@ const selectLastTab = () => { |
|
|
|
|
|
|
|
|
|
|
|
const selectPrevSelTab = () => { |
|
|
|
const selectPrevSelTab = () => { |
|
|
|
let tmpPrevSelTab = null; |
|
|
|
let tmpPrevSelTab = null; |
|
|
|
return browser.tabs.query({ currentWindow: true, active: true }).then((tabs) => { |
|
|
|
return browser.tabs.query({ currentWindow: true, active: true }).then( |
|
|
|
|
|
|
|
(tabs) => { |
|
|
|
tmpPrevSelTab = tabs[0].id; |
|
|
|
tmpPrevSelTab = tabs[0].id; |
|
|
|
browser.tabs.update(prevSelTab, { active: true }); |
|
|
|
browser.tabs.update(prevSelTab, { active: true }); |
|
|
|
prevSelTab = tmpPrevSelTab; |
|
|
|
prevSelTab = tmpPrevSelTab; |
|
|
|