From 3b27b94df019777f007591c27fc0cfa87fb41527 Mon Sep 17 00:00:00 2001 From: Michael Jumper Date: Sun, 8 Apr 2012 16:51:09 -0700 Subject: [PATCH] Only handle onclick with menu buttons - touch start is not reliable for setting focus. --- src/main/webapp/scripts/interface.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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 -- 1.7.10.4