diff options
-rw-r--r-- | ext/bg/js/backend.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/bg/js/backend.js b/ext/bg/js/backend.js index 65df0d49..5462d4c9 100644 --- a/ext/bg/js/backend.js +++ b/ext/bg/js/backend.js @@ -1289,8 +1289,8 @@ class Backend { const promises = []; for (const tab of tabs) { - const promise = this._getTabUrl(tab); - promise.then(checkTabUrl); + const promise = this._getTabUrl(tab.id); + promise.then((url) => checkTabUrl({url, tab})); promises.push(promise); } |