1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-06 08:54:12 +01:00

Better :tabdup behavior with relation to tab-options.js.

This commit is contained in:
Kris Maglione
2011-04-29 20:25:18 -04:00
parent dbb097ab7d
commit 6353f5b978

View File

@@ -164,7 +164,7 @@ var Tabs = Module("tabs", {
* @param {boolean} activate Whether to select the newly cloned tab.
*/
cloneTab: function (tab, activate) {
let newTab = config.tabbrowser.addTab();
let newTab = config.tabbrowser.addTab("about:blank", { ownerTab: tab.dactylOwner && tab.dactylOwner.get() || tab });
Tabs.copyTab(newTab, tab);
if (activate)