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
2012-03-25 13:36:01 -07:00
parent b80ede52a4
commit d4aabf013b

View File

@@ -245,6 +245,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;
if (e.getAttribute("keysym"))