mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-10-27 15:13:07 +00:00
Merge pull request #72 from karatheodory/master
GUAC-1046: Fix of doc/guacamole-example
This commit is contained in:
@@ -72,6 +72,13 @@
|
|||||||
<scope>runtime</scope>
|
<scope>runtime</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.slf4j</groupId>
|
||||||
|
<artifactId>slf4j-simple</artifactId>
|
||||||
|
<version>1.7.7</version>
|
||||||
|
</dependency>
|
||||||
|
|
||||||
|
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
|
||||||
</project>
|
</project>
|
||||||
|
|||||||
@@ -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