diff --git a/doc/guacamole-example/pom.xml b/doc/guacamole-example/pom.xml index cba49d8bb..293cc1b27 100644 --- a/doc/guacamole-example/pom.xml +++ b/doc/guacamole-example/pom.xml @@ -72,6 +72,13 @@ runtime + + org.slf4j + slf4j-simple + 1.7.7 + + + 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 =