diff --git a/guacamole-common-js/src/main/webapp/modules/Keyboard.js b/guacamole-common-js/src/main/webapp/modules/Keyboard.js index 495db2de5..3a534fc6e 100644 --- a/guacamole-common-js/src/main/webapp/modules/Keyboard.js +++ b/guacamole-common-js/src/main/webapp/modules/Keyboard.js @@ -781,7 +781,7 @@ Guacamole.Keyboard = function(element) { keysym = keysym_from_charcode(next.charCode); if (keysym) { recentKeysym[first.keyCode] = keysym; - first.defaultPrevented = !press_key(keysym); + first.defaultPrevented = next.defaultPrevented = !press_key(keysym); return eventLog.shift(); }