From: Michael Jumper Date: Sun, 8 Apr 2012 23:51:09 +0000 (-0700) Subject: Only handle onclick with menu buttons - touch start is not reliable for setting focus. X-Git-Url: http://git.alex.org.uk Only handle onclick with menu buttons - touch start is not reliable for setting focus. --- diff --git a/src/main/webapp/scripts/interface.js b/src/main/webapp/scripts/interface.js index 67640ed..4f897b8 100644 --- a/src/main/webapp/scripts/interface.js +++ b/src/main/webapp/scripts/interface.js @@ -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