mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 05:07:41 +00:00
Fixed use of getDisplay() -> getDisplay().getElement() in the example.
This commit is contained in:
@@ -49,7 +49,7 @@
|
|||||||
);
|
);
|
||||||
|
|
||||||
// Add client to display div
|
// Add client to display div
|
||||||
display.appendChild(guac.getDisplay());
|
display.appendChild(guac.getDisplay().getElement());
|
||||||
|
|
||||||
// Error handler
|
// Error handler
|
||||||
guac.onerror = function(error) {
|
guac.onerror = function(error) {
|
||||||
@@ -65,7 +65,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Mouse
|
// Mouse
|
||||||
var mouse = new Guacamole.Mouse(guac.getDisplay());
|
var mouse = new Guacamole.Mouse(guac.getDisplay().getElement());
|
||||||
|
|
||||||
mouse.onmousedown =
|
mouse.onmousedown =
|
||||||
mouse.onmouseup =
|
mouse.onmouseup =
|
||||||
|
Reference in New Issue
Block a user