Fixed noVNC mouse pointer.

This commit is contained in:
Ylian Saint-Hilaire 2020-06-06 20:02:54 -07:00
parent b516ec221e
commit 9b2afc42c5
2 changed files with 2 additions and 2 deletions

File diff suppressed because one or more lines are too long

View File

@ -2197,7 +2197,7 @@
} }
} }
if (message.tag == 'novnc') { if (message.tag == 'novnc') {
var vncurl = window.location.origin + domainUrl + 'novnc/vnc.html?ws=wss%3A%2F%2F' + window.location.hostname + '%2Fmeshrelay.ashx%3Fauth%3D' + message.cookie; var vncurl = window.location.origin + domainUrl + 'novnc/vnc.html?ws=wss%3A%2F%2F' + window.location.hostname + '%2Fmeshrelay.ashx%3Fauth%3D' + message.cookie + '&show_dot=1';
var node = getNodeFromId(message.nodeid); var node = getNodeFromId(message.nodeid);
if (node != null) { vncurl += '&name=' + encodeURIComponentEx(node.name); } if (node != null) { vncurl += '&name=' + encodeURIComponentEx(node.name); }
var newWindow = window.open(vncurl, 'mcnovnc/' + message.nodeid); var newWindow = window.open(vncurl, 'mcnovnc/' + message.nodeid);