mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-08 06:01:22 +00:00
GUAC-324: Fix override of keyboard events (space was not registering when event allowed through to browser).
This commit is contained in:
@@ -401,7 +401,7 @@ Guacamole.Keyboard = function(element) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return false;
|
return true;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -492,7 +492,7 @@ Guacamole.Keyboard = function(element) {
|
|||||||
var location = e.location || e.keyLocation || 0;
|
var location = e.location || e.keyLocation || 0;
|
||||||
|
|
||||||
// Ignore any unknown key events
|
// Ignore any unknown key events
|
||||||
if (!keynum && !identifier) {
|
if (!keynum) {
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user