From bd090107dc2eb69f9e3408c2dfeab1e8418c8411 Mon Sep 17 00:00:00 2001 From: Michael Jumper Date: Sun, 8 Apr 2012 17:17:38 -0700 Subject: [PATCH] Fix touch button rendering. --- src/main/webapp/client.xhtml | 6 +----- src/main/webapp/scripts/interface.js | 1 + src/main/webapp/styles/client.css | 2 +- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/src/main/webapp/client.xhtml b/src/main/webapp/client.xhtml index 312d3c3..7c38668 100644 --- a/src/main/webapp/client.xhtml +++ b/src/main/webapp/client.xhtml @@ -85,11 +85,7 @@ -
- - - -
+
diff --git a/src/main/webapp/scripts/interface.js b/src/main/webapp/scripts/interface.js index 4f897b8..b3681db 100644 --- a/src/main/webapp/scripts/interface.js +++ b/src/main/webapp/scripts/interface.js @@ -297,6 +297,7 @@ var GuacamoleUI = { GuacamoleUI.buttons.touchLogout.onclick = function() { window.location.href = "logout"; + GuacamoleUI.hideTouchMenu(); }; // Timeouts for detecting if users wants menu to open or close diff --git a/src/main/webapp/styles/client.css b/src/main/webapp/styles/client.css index 7477dd8..f595297 100644 --- a/src/main/webapp/styles/client.css +++ b/src/main/webapp/styles/client.css @@ -264,7 +264,7 @@ div#touchMenu { position: absolute; visibility: hidden; - display: inline-block; + white-space: pre; background: black; border: 1px solid silver; padding: 1em; -- 1.7.10.4