Initialize correctly on Firefox 15 and olders
This commit is contained in:
parent
da657f8950
commit
5769d05897
@ -15,7 +15,7 @@ var TreeStyleTabWindowHelper = {
|
|||||||
}
|
}
|
||||||
else if ('BrowserStartup' in window) { // legacy code for Firefox 15 and older
|
else if ('BrowserStartup' in window) { // legacy code for Firefox 15 and older
|
||||||
source = window.BrowserStartup.toSource();
|
source = window.BrowserStartup.toSource();
|
||||||
target = 'gBrowserInit.onLoad';
|
target = 'BrowserStartup';
|
||||||
}
|
}
|
||||||
if (source.indexOf('!MultipleTabService.tearOffSelectedTabsFromRemote()') > -1) {
|
if (source.indexOf('!MultipleTabService.tearOffSelectedTabsFromRemote()') > -1) {
|
||||||
eval(target+' = '+source.replace(
|
eval(target+' = '+source.replace(
|
||||||
|
Loading…
Reference in New Issue
Block a user