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:
YUKI "Piro" Hiroshi 2013-10-08 10:44:53 -07:00
commit aeaabeb526

View File

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