mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 666597: App Menu is triggered if a modal dialog is up [r=mbrubeck]
This commit is contained in:
parent
4a3fbbce0d
commit
437594e520
@ -11,7 +11,8 @@ var AppMenu = {
|
||||
overflowMenu : [],
|
||||
|
||||
show: function show() {
|
||||
if (BrowserUI.activePanel || BrowserUI.isPanelVisible())
|
||||
let modals = document.getElementsByClassName("modal-block").length;
|
||||
if (BrowserUI.activePanel || BrowserUI.isPanelVisible() || modals > 0 || BrowserUI.activeDialog)
|
||||
return;
|
||||
|
||||
let shown = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user