diff options
author | Devaev Maxim <[email protected]> | 2018-07-26 13:13:16 +0300 |
---|---|---|
committer | Devaev Maxim <[email protected]> | 2018-07-26 13:13:16 +0300 |
commit | d1a66cb948d1868bcbf03b2b1e5cd4a425ed0afe (patch) | |
tree | f53f9f21a8b542c449401fd8a3a9022cb0e25334 /kvmd/web/js/keyboard.js | |
parent | bb180b6bf8d7579035789f7df1fab86a3b1d3684 (diff) |
disabled keys repeat
Diffstat (limited to 'kvmd/web/js/keyboard.js')
-rw-r--r-- | kvmd/web/js/keyboard.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kvmd/web/js/keyboard.js b/kvmd/web/js/keyboard.js index 5092abe8..9caae324 100644 --- a/kvmd/web/js/keyboard.js +++ b/kvmd/web/js/keyboard.js @@ -24,7 +24,7 @@ var keyboard = new function() { var __keyboardHandler = function(event, state) { event.preventDefault(); el_key = $(event.code); - if (el_key) { + if (el_key && !event.repeat) { __commonHandler(el_key, state, "pressed"); __unholdModifiers(); } |