From ac7f508981ac76a7ace518836c511bd80ecb6ced Mon Sep 17 00:00:00 2001 From: Max Badryzlov Date: Sat, 21 May 2022 21:01:25 +0500 Subject: [PATCH] Use the openerTabId of the source tab Fixes #727 --- src/background.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/background.js b/src/background.js index 48e5ff7c..cba36918 100644 --- a/src/background.js +++ b/src/background.js @@ -317,7 +317,8 @@ async function maybeReopenTab (url, tab, request) { cookieStoreId, active: tab.active, index: tab.index, - windowId: tab.windowId + windowId: tab.windowId, + openerTabId: tab.openerTabId }); browser.tabs.remove(tab.id);