Patch for gBrowserInit._delayedStartup more surely
This commit is contained in:
parent
e0db926068
commit
f5682bef76
@ -20,7 +20,7 @@ var TreeStyleTabWindowHelper = {
|
||||
}
|
||||
else if (aSource.indexOf('gBrowser.swapBrowsersAndCloseOther') > -1) {
|
||||
return eval(aName+' = '+aSource.replace(
|
||||
'gBrowser.swapBrowsersAndCloseOther(gBrowser.selectedTab, uriToLoad);',
|
||||
/gBrowser\.swapBrowsersAndCloseOther\([^)]+\);/g,
|
||||
'if (!TreeStyleTabService.tearOffSubtreeFromRemote()) { $& }'
|
||||
).replace(
|
||||
// Workaround for https://github.com/piroor/treestyletab/issues/741
|
||||
|
Loading…
Reference in New Issue
Block a user