mirror of
https://github.com/novnc/noVNC.git
synced 2026-06-05 11:59:39 +00:00
ErrorEvent.error isn't always set
It's not just a matter of the browser lacking support.
This commit is contained in:
@@ -29,7 +29,7 @@
|
||||
msg.appendChild(div);
|
||||
}
|
||||
|
||||
if ((err !== undefined) &&
|
||||
if (err &&
|
||||
(err.stack !== undefined)) {
|
||||
div = document.createElement("div");
|
||||
div.className = 'noVNC_stack';
|
||||
|
||||
Reference in New Issue
Block a user