diff --git a/modules/utils.js b/modules/utils.js index d24ef03b..0181b03f 100644 --- a/modules/utils.js +++ b/modules/utils.js @@ -1273,7 +1273,7 @@ var TreeStyleTabUtils = { else if (aLink instanceof Ci.nsIDOMElement) { options = { link : aLink }; } - options.__prpto__ = { + options.__proto__ = { external : { newTab : this.getTreePref('openOuterLinkInNewTab') || this.getTreePref('openAnyLinkInNewTab'), forceChild : true @@ -1281,7 +1281,8 @@ var TreeStyleTabUtils = { internal : { newTab : this.getTreePref('openAnyLinkInNewTab') } - } + }; + options.uri = options.link.href; return this.checkReadyToOpenNewTab(options); },