mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-07 05:31:22 +00:00
Only handle onclick with menu buttons - touch start is not reliable for setting focus.
This commit is contained in:
@@ -276,7 +276,6 @@ var GuacamoleUI = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
// Touch-specific keyboard show
|
// Touch-specific keyboard show
|
||||||
GuacamoleUI.buttons.touchShowKeyboard.ontouchstart =
|
|
||||||
GuacamoleUI.buttons.touchShowKeyboard.onclick =
|
GuacamoleUI.buttons.touchShowKeyboard.onclick =
|
||||||
function(e) {
|
function(e) {
|
||||||
|
|
||||||
@@ -290,7 +289,7 @@ var GuacamoleUI = {
|
|||||||
|
|
||||||
GuacamoleUI.eventTarget.focus();
|
GuacamoleUI.eventTarget.focus();
|
||||||
GuacamoleUI.hideTouchMenu();
|
GuacamoleUI.hideTouchMenu();
|
||||||
e.preventDefault();
|
|
||||||
};
|
};
|
||||||
|
|
||||||
// Logout
|
// Logout
|
||||||
|
Reference in New Issue
Block a user