Fixed use of getDisplay() -> getDisplay().getElement() in the example.

This commit is contained in:
Vasily Loginov
2015-01-29 16:39:12 +06:00
parent 5a33f2eee0
commit 7c61f549ea

View File

@@ -49,7 +49,7 @@
);
// Add client to display div
display.appendChild(guac.getDisplay());
display.appendChild(guac.getDisplay().getElement());
// Error handler
guac.onerror = function(error) {
@@ -65,7 +65,7 @@
}
// Mouse
var mouse = new Guacamole.Mouse(guac.getDisplay());
var mouse = new Guacamole.Mouse(guac.getDisplay().getElement());
mouse.onmousedown =
mouse.onmouseup =