Avoid use of 'let' and 'const'

They are not supported on older browsers, e.g. iOS 9.
This commit is contained in:
Pierre Ossman
2017-06-02 15:11:05 +02:00
parent 493ad1a24b
commit 858ea4a774
12 changed files with 22 additions and 22 deletions

View File

@@ -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()) {