From 7c61f549ea08c8932337250918805f3eae474929 Mon Sep 17 00:00:00 2001 From: Vasily Loginov Date: Thu, 29 Jan 2015 16:39:12 +0600 Subject: [PATCH] Fixed use of getDisplay() -> getDisplay().getElement() in the example. --- doc/guacamole-example/src/main/webapp/index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/guacamole-example/src/main/webapp/index.html b/doc/guacamole-example/src/main/webapp/index.html index 3f4ec7141..901ec420b 100644 --- a/doc/guacamole-example/src/main/webapp/index.html +++ b/doc/guacamole-example/src/main/webapp/index.html @@ -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 =