Assume space cap if blank (blank caps would otherwise not render, and IE trims the contents of XML tags, which breaks the OSK spacebar).

This commit is contained in:
Michael Jumper committed 2012-03-25 13:37:16 -07:00
1 parent b80ede52a4
commit d4aabf013b
1 file changed
+4
@@ -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;