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:
1 parent
b80ede52a4
commit
d4aabf013b
1 file changed
+4
@@ -244,6 +244,10 @@ Guacamole.OnScreenKeyboard = function(url) {
|
|||||||
|
|
||||||
// Get content of key cap
|
// Get content of key cap
|
||||||
var content = e.textContent || e.text;
|
var content = e.textContent || e.text;
|
||||||
|
|
||||||
|
// If read as blank, assume cap is a single space.
|
||||||
|
if (content.length == 0)
|
||||||
|
content = " ";
|
||||||
|
|
||||||
// Get keysym
|
// Get keysym
|
||||||
var real_keysym = null;
|
var real_keysym = null;
|
||||||
|
|||||||
Reference in new issue
Block a user