Only handle onclick with menu buttons - touch start is not reliable for setting focus.
[guacamole.git] / 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