From 5769d058977a6c6151a5cc7cd4558ce705bbbbab Mon Sep 17 00:00:00 2001 From: Piro / SHIMODA Hiroshi Date: Fri, 25 May 2012 23:54:29 +0900 Subject: [PATCH] Initialize correctly on Firefox 15 and olders --- content/treestyletab/windowHelper.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/treestyletab/windowHelper.js b/content/treestyletab/windowHelper.js index 435a8ee1..1f19d4f5 100644 --- a/content/treestyletab/windowHelper.js +++ b/content/treestyletab/windowHelper.js @@ -15,7 +15,7 @@ var TreeStyleTabWindowHelper = { } else if ('BrowserStartup' in window) { // legacy code for Firefox 15 and older source = window.BrowserStartup.toSource(); - target = 'gBrowserInit.onLoad'; + target = 'BrowserStartup'; } if (source.indexOf('!MultipleTabService.tearOffSelectedTabsFromRemote()') > -1) { eval(target+' = '+source.replace(