mirror of
https://github.com/novnc/noVNC.git
synced 2026-05-29 16:39:40 +00:00
* Disable local cursor when the browser doesn't support data uri
This commit is contained in:
@@ -88,7 +88,7 @@ var Display;
|
||||
// Determine browser support for setting the cursor via data URI scheme
|
||||
if (this._cursor_uri || this._cursor_uri === null ||
|
||||
this._cursor_uri === undefined) {
|
||||
this._cursor_uri = Util.browserSupportsCursorURIs(this._target);
|
||||
this._cursor_uri = Util.browserSupportsCursorURIs();
|
||||
}
|
||||
|
||||
Util.Debug("<< Display.constructor");
|
||||
|
||||
@@ -1265,6 +1265,7 @@ var RFB;
|
||||
this._local_cursor = true;
|
||||
} else {
|
||||
Util.Warn("Browser does not support local cursor");
|
||||
this._display.disableLocalCursor();
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user