mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 21:27:40 +00:00
Fix errors in IE due to lack of textContent support.
This commit is contained in:
@@ -112,6 +112,7 @@ Guacamole.OnScreenKeyboard = function(url) {
|
|||||||
|
|
||||||
// Displayed text
|
// Displayed text
|
||||||
var displayText = cap.textContent;
|
var displayText = cap.textContent;
|
||||||
|
if (!displayText) displayText = cap.text;
|
||||||
|
|
||||||
// Keysym
|
// Keysym
|
||||||
var keysym = null;
|
var keysym = null;
|
||||||
@@ -149,7 +150,7 @@ Guacamole.OnScreenKeyboard = function(url) {
|
|||||||
sticky = true;
|
sticky = true;
|
||||||
|
|
||||||
this.getDisplayText = function() {
|
this.getDisplayText = function() {
|
||||||
return cap.textContent;
|
return displayText;
|
||||||
};
|
};
|
||||||
|
|
||||||
this.getKeySym = function() {
|
this.getKeySym = function() {
|
||||||
|
Reference in New Issue
Block a user