mirror of
https://github.com/novnc/noVNC.git
synced 2026-06-08 05:14:37 +00:00
Move cursor URI check to RFB object
Keeps the Display object simpler, and avoids having to abuse a property to transfer the information.
This commit is contained in:
@@ -43,11 +43,3 @@ export function browserSupportsCursorURIs () {
|
||||
|
||||
return _cursor_uris_supported;
|
||||
};
|
||||
|
||||
export function _forceCursorURIs(enabled) {
|
||||
if (enabled === undefined || enabled) {
|
||||
_cursor_uris_supported = true;
|
||||
} else {
|
||||
_cursor_uris_supported = false;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user