Merge pull request #571 from Infocatcher/fix_fullscreen
Handle changes of "moz-collapsed" attribute to correctly update after exiting from full screen mode
This commit is contained in:
commit
aeaabeb526
@ -112,6 +112,7 @@ BrowserUIShowHideObserver.prototype = {
|
|||||||
return;
|
return;
|
||||||
if (aMutation.attributeName == 'hidden' ||
|
if (aMutation.attributeName == 'hidden' ||
|
||||||
aMutation.attributeName == 'collapsed' ||
|
aMutation.attributeName == 'collapsed' ||
|
||||||
|
aMutation.attributeName == 'moz-collapsed' || // Used in full screen mode
|
||||||
aMutation.attributeName == 'disablechrome')
|
aMutation.attributeName == 'disablechrome')
|
||||||
this.owner.browser.treeStyleTab.updateFloatingTabbar(this.owner.kTABBAR_UPDATE_BY_WINDOW_RESIZE);
|
this.owner.browser.treeStyleTab.updateFloatingTabbar(this.owner.kTABBAR_UPDATE_BY_WINDOW_RESIZE);
|
||||||
}, this);
|
}, this);
|
||||||
|
Loading…
Reference in New Issue
Block a user