Commit f7f69d8e authored by Joel Martin's avatar Joel Martin

Fix error when cursor Data URI scheme not supported.

parent da6dd893
...@@ -218,7 +218,7 @@ clickSettingsMenu: function() { ...@@ -218,7 +218,7 @@ clickSettingsMenu: function() {
if (Canvas.isCursor()) { if (Canvas.isCursor()) {
DC.updateSetting('cursor'); DC.updateSetting('cursor');
} else { } else {
DC.updateSettings('cursor', false); DC.updateSetting('cursor', false);
$('VNC_cursor').disabled = true; $('VNC_cursor').disabled = true;
} }
DC.updateSetting('stylesheet'); DC.updateSetting('stylesheet');
...@@ -248,7 +248,7 @@ settingsDisabled: function(disabled) { ...@@ -248,7 +248,7 @@ settingsDisabled: function(disabled) {
if (Canvas.isCursor()) { if (Canvas.isCursor()) {
$('VNC_cursor').disabled = disabled; $('VNC_cursor').disabled = disabled;
} else { } else {
DefaultControls.updateSettings('cursor', false); DefaultControls.updateSetting('cursor', false);
$('VNC_cursor').disabled = true; $('VNC_cursor').disabled = true;
} }
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment