fix activateTab to produce a tab instead of [tab, window]
This commit is contained in:
parent
40f9413207
commit
83dcc488dd
|
@ -223,7 +223,7 @@ function activateTab(tab) {
|
|||
new Promise(resolve => {
|
||||
chrome.windows.update(tab.windowId, {focused: true}, resolve);
|
||||
}),
|
||||
]);
|
||||
]).then(([tab]) => tab);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user