Call renamed methods correctly

This commit is contained in:
YUKI Hiroshi 2015-08-28 17:39:58 +09:00
parent 15666abfcb
commit bea74f32ba

View File

@ -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;