mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 952989 - Hide the find bar when the options flyout is displayed. r=mbrubeck
This commit is contained in:
parent
e7839724f1
commit
0eef181bc1
@ -56,6 +56,7 @@ var FindHelperUI = {
|
|||||||
Elements.tabList.addEventListener("TabSelect", this, true);
|
Elements.tabList.addEventListener("TabSelect", this, true);
|
||||||
Elements.browsers.addEventListener("URLChanged", this, true);
|
Elements.browsers.addEventListener("URLChanged", this, true);
|
||||||
window.addEventListener("MozAppbarShowing", this);
|
window.addEventListener("MozAppbarShowing", this);
|
||||||
|
window.addEventListener("MozFlyoutPanelShowing", this, false);
|
||||||
},
|
},
|
||||||
|
|
||||||
handleEvent: function findHelperHandleEvent(aEvent) {
|
handleEvent: function findHelperHandleEvent(aEvent) {
|
||||||
@ -77,6 +78,7 @@ var FindHelperUI = {
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case "MozAppbarShowing":
|
case "MozAppbarShowing":
|
||||||
|
case "MozFlyoutPanelShowing":
|
||||||
if (aEvent.target != this._container) {
|
if (aEvent.target != this._container) {
|
||||||
this.hide();
|
this.hide();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user