mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-18 12:25:46 +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.
|
* @param {boolean} activate Whether to select the newly cloned tab.
|
||||||
*/
|
*/
|
||||||
cloneTab: function cloneTab(tab, activate) {
|
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);
|
Tabs.copyTab(newTab, tab);
|
||||||
|
|
||||||
if (activate)
|
if (activate)
|
||||||
|
|||||||
Reference in New Issue
Block a user