diff --git a/js/messaging.js b/js/messaging.js index 588e5a76..a46b3a16 100644 --- a/js/messaging.js +++ b/js/messaging.js @@ -430,7 +430,7 @@ function activateTab(tab) { chrome.windows && new Promise(resolve => { chrome.windows.update(tab.windowId, {focused: true}, resolve); }), - ]); + ]).then(([tab]) => tab); }