Closed slugbucket closed 4 years ago
This simply a matter of adding an extra window (not modal) event handler:
// Press the ESC key to exit the dialog
window.onkeydown = function(event) {
if (event.which == 27) {
modal.style.display = "none";
}
}
Featire implemented.
On the crossword solutions entry form when dislaying the solution types modal dialog, pressing the ESCape key has no effect; it should close the dialog.