GUACAMOLE-352: Explicitly listen to the input sink.

This commit is contained in:
Michael Jumper
2017-12-18 10:59:15 -08:00
parent 2d26d24dda
commit 86d9cc1248

View File

@@ -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) {