mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 13:17:41 +00:00
Moved error style change into hook
This commit is contained in:
@@ -265,9 +265,6 @@ function GuacamoleClient(display) {
|
|||||||
|
|
||||||
disconnect();
|
disconnect();
|
||||||
|
|
||||||
// In case nothing has been rendered yet, use error style
|
|
||||||
display.className += " guac-error";
|
|
||||||
|
|
||||||
// Show error by desaturating display
|
// Show error by desaturating display
|
||||||
if (background)
|
if (background)
|
||||||
background.filter(desaturateFilter);
|
background.filter(desaturateFilter);
|
||||||
|
Reference in New Issue
Block a user