Only handle onclick with menu buttons - touch start is not reliable for setting focus.

This commit is contained in:
Michael Jumper
2012-04-08 16:51:09 -07:00
parent f8f48f551a
commit 374284d833

View 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