Moved error style change into hook
authorMichael Jumper <zhangmaike@users.sourceforge.net>
Sun, 23 Jan 2011 09:42:37 +0000 (01:42 -0800)
committerMichael Jumper <zhangmaike@users.sourceforge.net>
Sun, 23 Jan 2011 09:42:37 +0000 (01:42 -0800)
src/main/resources/guacamole.js

index 020e88a..8cf692f 100644 (file)
@@ -265,9 +265,6 @@ function GuacamoleClient(display) {
 
             disconnect();
 
-            // In case nothing has been rendered yet, use error style
-            display.className += " guac-error";
-
             // Show error by desaturating display
             if (background)
                 background.filter(desaturateFilter);