mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 13:17:41 +00:00
GUACAMOLE-352: Explicitly listen to the input sink.
This commit is contained in:
@@ -88,6 +88,7 @@ angular.module('index').controller('indexController', ['$scope', '$injector',
|
||||
|
||||
// Create event listeners at the global level
|
||||
var keyboard = new Guacamole.Keyboard($document[0]);
|
||||
keyboard.listenTo(sink.getElement());
|
||||
|
||||
// Broadcast keydown events
|
||||
keyboard.onkeydown = function onkeydown(keysym) {
|
||||
|
Reference in New Issue
Block a user