Bug 739116 - Remove fullscreen's "deactivate" listener on non-Lion systems upon leaving fullscreen. r=dao

This commit is contained in:
Chris Pearce 2012-03-27 10:12:18 +13:00
parent 16c13e16cb
commit ec40e226ee

View File

@ -4084,7 +4084,7 @@ var FullScreen = {
gBrowser.tabContainer.removeEventListener("TabOpen", this.exitDomFullScreen);
gBrowser.tabContainer.removeEventListener("TabClose", this.exitDomFullScreen);
gBrowser.tabContainer.removeEventListener("TabSelect", this.exitDomFullScreen);
if (this.useLionFullScreen) {
if (!this.useLionFullScreen) {
window.removeEventListener("deactivate", this);
}
}