mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-24 08:52:27 +01:00
Set source tab as owner in :tabdup.
This commit is contained in:
@@ -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