From f559aec7d217fff46e8a88578a770f3e77a98fba Mon Sep 17 00:00:00 2001 From: Kris Maglione Date: Fri, 29 Jul 2011 03:22:40 -0400 Subject: [PATCH] Set source tab as owner in :tabdup. --- common/content/tabs.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/content/tabs.js b/common/content/tabs.js index 2a03f948..c6210807 100644 --- a/common/content/tabs.js +++ b/common/content/tabs.js @@ -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)