When Personal Titlebar ( https://addons.mozilla.org/ja/firefox/addon/personal-titlebar/ ) is installed, tree view was wrongly disabled.
This commit is contained in:
parent
3eb8838ded
commit
55bfe342d2
@ -2276,8 +2276,15 @@ TreeStyleTabBrowser.prototype = {
|
|||||||
|
|
||||||
// toolbar customizing on Firefox 4 or later
|
// toolbar customizing on Firefox 4 or later
|
||||||
case 'beforecustomization':
|
case 'beforecustomization':
|
||||||
|
this.toolbarCustomizing = true;
|
||||||
return this.syncDestroyTabbar();
|
return this.syncDestroyTabbar();
|
||||||
case 'aftercustomization':
|
case 'aftercustomization':
|
||||||
|
// Ignore it, because 'aftercustomization' fired not
|
||||||
|
// following to 'beforecustomization' is invalid.
|
||||||
|
// Personal Titlebar addon (or others) fires a fake
|
||||||
|
// event on its startup process.
|
||||||
|
if (!this.toolbarCustomizing) return;
|
||||||
|
this.toolbarCustomizing = false;
|
||||||
return this.syncReinitTabbar();
|
return this.syncReinitTabbar();
|
||||||
case 'customizationchange':
|
case 'customizationchange':
|
||||||
return this.updateCustomizedTabsToolbar();
|
return this.updateCustomizedTabsToolbar();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user