mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-10-17 00:32:30 +02:00
Set source tab as owner in :tabdup.
This commit is contained in:
1 parent
76020ae2b3
commit
f559aec7d2
1 file changed
+1
-1
@@ -174,7 +174,7 @@ var Tabs = Module("tabs", {
|
||||
* @param {boolean} activate Whether to select the newly cloned tab.
|
||||
*/
|
||||
cloneTab: function cloneTab(tab, activate) {
|
||||
let newTab = config.tabbrowser.addTab("about:blank", { ownerTab: tab.dactylOwner && tab.dactylOwner.get() || tab });
|
||||
let newTab = config.tabbrowser.addTab("about:blank", { ownerTab: tab });
|
||||
Tabs.copyTab(newTab, tab);
|
||||
|
||||
if (activate)
|
||||
|
||||
Reference in new issue
Block a user