aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/background/actions/operation.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/background/actions/operation.js b/src/background/actions/operation.js
index c477ce7..10c366f 100644
--- a/src/background/actions/operation.js
+++ b/src/background/actions/operation.js
@@ -80,7 +80,8 @@ const exec = (operation, tab) => {
case operations.PAGE_SOURCE:
return browser.tabs.create({
url: 'view-source:' + tab.url,
- index: tab.index + 1
+ index: tab.index + 1,
+ openerTabId: tab.id,
});
default:
return Promise.resolve();