diff options
| author | Jake Mannens <jake@asger.xyz> | 2023-09-13 16:01:02 +1000 |
|---|---|---|
| committer | Jake Mannens <jake@asger.xyz> | 2023-09-13 16:01:02 +1000 |
| commit | e6e43b943143d55581ef442b61ed6cbdbb40c642 (patch) | |
| tree | 82dc5ba12d2761baf8b9290804d3481cdf4eb4cb /wwwroot/js/keyboard.js | |
| parent | bd46d1ff8f2bbe43a92e935aafadc1a63b3a1a5b (diff) | |
Added logon page
Diffstat (limited to 'wwwroot/js/keyboard.js')
| -rw-r--r-- | wwwroot/js/keyboard.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/wwwroot/js/keyboard.js b/wwwroot/js/keyboard.js index 4c8e722..8086418 100644 --- a/wwwroot/js/keyboard.js +++ b/wwwroot/js/keyboard.js @@ -1,7 +1,7 @@ async function keyDownHandler(e) { function isDialogChild(e) { - while (e = e.parentElement) - if (e.tagName == 'DIV' && e.classList.contains('dialog')) + while(e = e.parentElement) + if(e.tagName == 'DIV' && e.classList.contains('dialog')) return true; return false; } |
