git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@4221 599a83e7-65a4-db11-8015-0010dcdd6dc2
This commit is contained in:
piro 2009-04-28 08:25:38 +00:00
parent 67da0f27b6
commit 0b3524dfd6

View File

@ -403,7 +403,7 @@ var TreeStyleTabService = {
var str = aURI; var str = aURI;
if (str instanceof Ci.nsIURI) str = aURI.spec; if (str instanceof Ci.nsIURI) str = aURI.spec;
return (/^\w+:\/\/([^:\/]+)/.test(getShortcutOrURI(str)) ? return /^\w+:\/\/([^:\/]+)/.test(getShortcutOrURI(str)) ?
RegExp.$1 : RegExp.$1 :
null ; null ;
}, },