From f03953778850bc8738dacc86b4ba3c63796a74e3 Mon Sep 17 00:00:00 2001 From: Michael Jumper Date: Sun, 11 Nov 2012 00:41:02 -0800 Subject: [PATCH] Fix style handling on iOS. --- guacamole/src/main/webapp/scripts/root-ui.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/guacamole/src/main/webapp/scripts/root-ui.js b/guacamole/src/main/webapp/scripts/root-ui.js index 800ddea0a..008e8584a 100644 --- a/guacamole/src/main/webapp/scripts/root-ui.js +++ b/guacamole/src/main/webapp/scripts/root-ui.js @@ -519,3 +519,9 @@ GuacamoleRootUI.fields.username.setAttribute("autocapitalize", "off"); */ GuacamoleRootUI.reset(); + +/* + * Make sure body has an associated touch event handler such that CSS styles + * will work in browsers that require this. + */ +document.body.ontouchstart = function() {};