new tab from links opened by Tab Mix Plus were not made children of the current tab (fix for https://github.com/piroor/treestyletab/issues#issue/69 )
This commit is contained in:
parent
20bf2b1fe7
commit
a3f808f88b
@ -435,6 +435,17 @@ TreeStyleTabService.overrideExtensionsOnInitAfter = function TSTService_override
|
||||
)
|
||||
);
|
||||
|
||||
if ('TabmixContext' in window &&
|
||||
typeof TabmixContext.openMultipleLinks == 'function') {
|
||||
eval('TabmixContext.openMultipleLinks = '+
|
||||
TabmixContext.openMultipleLinks.toSource().replace(
|
||||
/(TMP_loadTabs\([^\)]+\);)/g,
|
||||
'TreeStyleTabService.readyToOpenChildTab(gBrowser, true); $1 TreeStyleTabService.stopToOpenChildTab(gBrowser);'
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
let listener = {
|
||||
handleEvent : function(aEvent)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user