From 0b3524dfd6c44dbe49f79bdb1162514031dbdb15 Mon Sep 17 00:00:00 2001 From: piro Date: Tue, 28 Apr 2009 08:25:38 +0000 Subject: [PATCH] typo git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@4221 599a83e7-65a4-db11-8015-0010dcdd6dc2 --- content/treestyletab/treestyletab.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/treestyletab/treestyletab.js b/content/treestyletab/treestyletab.js index eb31ceb7..5ac2d808 100644 --- a/content/treestyletab/treestyletab.js +++ b/content/treestyletab/treestyletab.js @@ -403,7 +403,7 @@ var TreeStyleTabService = { var str = aURI; if (str instanceof Ci.nsIURI) str = aURI.spec; - return (/^\w+:\/\/([^:\/]+)/.test(getShortcutOrURI(str)) ? + return /^\w+:\/\/([^:\/]+)/.test(getShortcutOrURI(str)) ? RegExp.$1 : null ; },