Key state object should be object, not Array.

This commit is contained in:
Michael Jumper
2012-11-08 10:30:02 -08:00
parent 3862a84014
commit a261bd2305

View File

@@ -241,7 +241,7 @@ Guacamole.Keyboard = function(element) {
* is not currently pressed, the value for that keysym may be false or * is not currently pressed, the value for that keysym may be false or
* undefined. * undefined.
*/ */
this.pressed = []; this.pressed = {};
var keydownChar = new Array(); var keydownChar = new Array();