From 6c44f843084f92babd52f52cfdb5422875aec00b Mon Sep 17 00:00:00 2001 From: piro Date: Wed, 27 Feb 2008 01:16:01 +0000 Subject: [PATCH] =?UTF-8?q?=E9=96=A2=E6=95=B0=E3=81=AE=E6=9B=B8=E3=81=8D?= =?UTF-8?q?=E6=8F=9B=E3=81=88=E3=81=AB=E5=A4=B1=E6=95=97=E3=81=99=E3=82=8B?= =?UTF-8?q?=E5=95=8F=E9=A1=8C=E3=82=92=E4=BF=AE=E6=AD=A3?= 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@1929 599a83e7-65a4-db11-8015-0010dcdd6dc2 --- content/treestyletab/treestyletab.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/content/treestyletab/treestyletab.js b/content/treestyletab/treestyletab.js index 487854bb..ce99b19d 100644 --- a/content/treestyletab/treestyletab.js +++ b/content/treestyletab/treestyletab.js @@ -949,7 +949,7 @@ catch(e) { overwriteProcess = function(aName) { var overwroteFunc; eval('overwroteFunc = '+aName); - if (overwroteFunc.toSource().indexOf('(function BrowserLoadURL') != 0) return; + if (overwroteFunc.toSource().indexOf('function BrowserLoadURL') != 0) return; eval(aName + ' = '+ overwroteFunc.toSource().replace( 'aTriggeringEvent && aTriggeringEvent.altKey', @@ -1069,7 +1069,7 @@ catch(e) { overwriteProcess = function(aName) { var overwroteFunc; eval('overwroteFunc = '+aName); - if (overwroteFunc.toSource().indexOf('(function contentAreaClick') != 0) return; + if (overwroteFunc.toSource().indexOf('function contentAreaClick') != 0) return; eval(aName + ' = '+ overwroteFunc.toSource().replace( /(openWebPanel\([^\(]+\("webPanels"\), wrapper.href\);event.preventDefault\(\);return false;\})/, @@ -1124,7 +1124,7 @@ catch(e) { overwriteProcess = function(aName, aFunc) { var overwroteFunc; eval('overwroteFunc = '+aName); - if (overwroteFunc.toSource().indexOf('(function '+func) != 0) return; + if (overwroteFunc.toSource().indexOf('function '+func) != 0) return; eval(aName + ' = '+ overwroteFunc.toSource().replace( 'gBrowser.loadTabs(',