diff --git a/mobile/chrome/content/AppMenu.js b/mobile/chrome/content/AppMenu.js index 42ff45aa86a..b8c88f666ef 100644 --- a/mobile/chrome/content/AppMenu.js +++ b/mobile/chrome/content/AppMenu.js @@ -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;