Fix errors in IE due to lack of textContent support.
This commit is contained in:
1 parent
e362394d10
commit
d5b093023f
1 file changed
+2
-1
@@ -112,6 +112,7 @@ Guacamole.OnScreenKeyboard = function(url) {
|
||||
|
||||
// Displayed text
|
||||
var displayText = cap.textContent;
|
||||
if (!displayText) displayText = cap.text;
|
||||
|
||||
// Keysym
|
||||
var keysym = null;
|
||||
@@ -149,7 +150,7 @@ Guacamole.OnScreenKeyboard = function(url) {
|
||||
sticky = true;
|
||||
|
||||
this.getDisplayText = function() {
|
||||
return cap.textContent;
|
||||
return displayText;
|
||||
};
|
||||
|
||||
this.getKeySym = function() {
|
||||
|
||||
Reference in new issue
Block a user