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