Moved error style change into hook
This commit is contained in:
1 parent
098a521a4b
commit
db00063b36
1 file changed
-3
@@ -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