Only handle onclick with menu buttons - touch start is not reliable for setting focus.
authorMichael Jumper <zhangmaike@users.sourceforge.net>
Sun, 8 Apr 2012 23:51:09 +0000 (16:51 -0700)
committerMichael Jumper <zhangmaike@users.sourceforge.net>
Sun, 8 Apr 2012 23:51:09 +0000 (16:51 -0700)
src/main/webapp/scripts/interface.js

index 67640ed..4f897b8 100644 (file)
@@ -276,7 +276,6 @@ var GuacamoleUI = {
     };
 
     // Touch-specific keyboard show
-    GuacamoleUI.buttons.touchShowKeyboard.ontouchstart = 
     GuacamoleUI.buttons.touchShowKeyboard.onclick = 
         function(e) {
 
@@ -290,7 +289,7 @@ var GuacamoleUI = {
 
             GuacamoleUI.eventTarget.focus();
             GuacamoleUI.hideTouchMenu();
-            e.preventDefault();
+
         };
 
     // Logout