Re-fixes #428 which was broken by commit 58ded70

* Disable local cursor when the browser doesn't support data uri
This commit is contained in:
samhed 2015-04-29 14:54:28 +02:00
parent f9ffb21b6b
commit 8ce27ddb4b
2 changed files with 2 additions and 1 deletions

View File

@ -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");

View File

@ -1265,6 +1265,7 @@ var RFB;
this._local_cursor = true;
} else {
Util.Warn("Browser does not support local cursor");
this._display.disableLocalCursor();
}
}
};