projects
/
guacamole-common-js.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Assume space cap if blank (blank caps would otherwise not render, and IE trims the...
[guacamole-common-js.git]
/
src
/
main
/
resources
/
oskeyboard.js
diff --git
a/src/main/resources/oskeyboard.js
b/src/main/resources/oskeyboard.js
index
dc5833a
..
1f8c083
100644
(file)
--- a/
src/main/resources/oskeyboard.js
+++ b/
src/main/resources/oskeyboard.js
@@
-244,6
+244,10
@@
Guacamole.OnScreenKeyboard = function(url) {
// Get content of key cap
var content = e.textContent || e.text;
+
+ // If read as blank, assume cap is a single space.
+ if (content.length == 0)
+ content = " ";
// Get keysym
var real_keysym = null;