From 7ae995270dac8a3ed2f7a5dfd931a5b83b18fa07 Mon Sep 17 00:00:00 2001 From: piro Date: Sun, 2 May 2010 06:45:57 +0000 Subject: [PATCH] =?UTF-8?q?=E3=83=84=E3=83=AA=E3=83=BC=E5=9E=8B=E3=82=BF?= =?UTF-8?q?=E3=83=96=E3=81=AE=E6=A9=9F=E8=83=BD=E3=81=A7=E8=87=AA=E5=8B=95?= =?UTF-8?q?=E7=9A=84=E3=81=AB=E3=83=AA=E3=83=B3=E3=82=AF=E3=82=92=E3=82=BF?= =?UTF-8?q?=E3=83=96=E3=81=A7=E9=96=8B=E3=81=91=E3=81=AA=E3=81=8F=E3=81=AA?= =?UTF-8?q?=E3=81=A3=E3=81=A6=E3=81=84=E3=81=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@6655 599a83e7-65a4-db11-8015-0010dcdd6dc2 --- modules/utils.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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); },