Call renamed methods correctly
This commit is contained in:
parent
15666abfcb
commit
bea74f32ba
@ -1323,10 +1323,10 @@ TreeStyleTabWindowHelper.overrideExtensionsDelayed = function TSTWH_overrideExte
|
|||||||
aEvent.attrName == 'hidden' &&
|
aEvent.attrName == 'hidden' &&
|
||||||
gBrowser.tabContainer.parentNode.id == (aEvent.newValue == 'true' ? 'toolbar-menubar' : 'personal-titlebar' )
|
gBrowser.tabContainer.parentNode.id == (aEvent.newValue == 'true' ? 'toolbar-menubar' : 'personal-titlebar' )
|
||||||
) {
|
) {
|
||||||
gBrowser.treeStyleTab.syncDestroyTabbar();
|
gBrowser.treeStyleTab.destroyTabbar()
|
||||||
window.setTimeout(function() {
|
.then(function() {
|
||||||
gBrowser.treeStyleTab.syncReinitTabbar();
|
gBrowser.treeStyleTab.reinitTabbar();
|
||||||
}, 0);
|
});
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user