mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 21:27:40 +00:00
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:
@@ -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