* Disable local cursor when the browser doesn't support data uri
This commit is contained in:
parent
f9ffb21b6b
commit
8ce27ddb4b
|
@ -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();
|
||||
}
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue