mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 05:07:41 +00:00
Moved error style change into hook
This commit is contained in:
@@ -214,10 +214,14 @@
|
||||
guacErrorImage.src = "images/noguacamole-logo.png";
|
||||
|
||||
guac.setErrorHandler(function(error) {
|
||||
|
||||
menu.className = "error";
|
||||
display.className += " guac-error";
|
||||
|
||||
logo.src = guacErrorImage.src;
|
||||
errorDialogText.textContent = error;
|
||||
errorDialog.style.visibility = "visible";
|
||||
|
||||
});
|
||||
|
||||
// Reconnect button
|
||||
|
Reference in New Issue
Block a user