fix BUG-104, dont process keybindings when DBox with text inputs is shown

This commit is contained in:
2022-09-20 23:08:45 +10:00
parent 71ec54807a
commit 25919f5a5c
2 changed files with 4 additions and 1 deletions

View File

@@ -280,6 +280,10 @@
{% block script_content %}
<script>
$( document ).keydown(function(event) {
// if dbox is visible, dont process this hot-key, we are inputting text
// into inputs instead
if( $("#dbox").is(':visible') )
return
switch (event.key)
{
case "Left": // IE/Edge specific value