GUAC-823: Cursors must end with a cursor keyword (see https://developer.mozilla.org/en-US/docs/Web/CSS/cursor/url).

This commit is contained in:
Michael Jumper
2014-10-16 22:38:29 -07:00
parent deaec480db
commit c62e7c7b4b

View File

@@ -333,7 +333,7 @@ Guacamole.Mouse = function(element) {
// Attempt to set via CSS3 cursor styling
if (CSS3_CURSOR_SUPPORTED) {
var dataURL = canvas.toDataURL('image/png');
element.style.cursor = "url(" + dataURL + ") " + x + " " + y;
element.style.cursor = "url(" + dataURL + ") " + x + " " + y + ", auto";
return true;
}