mirror of
https://github.com/novnc/noVNC.git
synced 2026-06-07 21:04:37 +00:00
Avoid use of 'let' and 'const'
They are not supported on older browsers, e.g. iOS 9.
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
// Fallback for all uncought errors
|
||||
function handleError (event, err) {
|
||||
try {
|
||||
const msg = document.getElementById('noVNC_fallback_errormsg');
|
||||
var msg = document.getElementById('noVNC_fallback_errormsg');
|
||||
|
||||
// Only show the initial error
|
||||
if (msg.hasChildNodes()) {
|
||||
|
||||
Reference in New Issue
Block a user