summaryrefslogtreecommitdiff
path: root/wwwroot/js/keyboard.js
diff options
context:
space:
mode:
Diffstat (limited to 'wwwroot/js/keyboard.js')
-rw-r--r--wwwroot/js/keyboard.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/wwwroot/js/keyboard.js b/wwwroot/js/keyboard.js
index 5669637..4c8e722 100644
--- a/wwwroot/js/keyboard.js
+++ b/wwwroot/js/keyboard.js
@@ -6,7 +6,7 @@ async function keyDownHandler(e) {
return false;
}
- if(document.activeElement.tagName == 'INPUT')
+ if(document.activeElement.tagName == 'INPUT' && e.key != 'Escape')
return;
var element = Array.from(document.querySelectorAll('div.dialog'))