mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-07 13:41:21 +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
|
// Create event listeners at the global level
|
||||||
var keyboard = new Guacamole.Keyboard($document[0]);
|
var keyboard = new Guacamole.Keyboard($document[0]);
|
||||||
|
keyboard.listenTo(sink.getElement());
|
||||||
|
|
||||||
// Broadcast keydown events
|
// Broadcast keydown events
|
||||||
keyboard.onkeydown = function onkeydown(keysym) {
|
keyboard.onkeydown = function onkeydown(keysym) {
|
||||||
|
Reference in New Issue
Block a user