diff --git a/emccpre.js b/emccpre.js index e5cbb05..a22001b 100644 --- a/emccpre.js +++ b/emccpre.js @@ -458,6 +458,8 @@ function initPuzzle() { var cs = window.getComputedStyle(menu); return cs.display == "flex" && cs.flexDirection == "row"; } + if (dlg_dimmer !== null) + return; if (!["ArrowLeft", "ArrowRight", "ArrowUp", "ArrowDown", "Enter", "Escape", "Backspace", "SoftRight"] .includes(event.key))