mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 13:17:41 +00:00
GUAC-692: Replace more magic numbers with constants.
This commit is contained in:
@@ -1967,7 +1967,7 @@ GuacUI.Client.attach = function(guac) {
|
|||||||
|
|
||||||
for (var i=0; i<content.length; i++) {
|
for (var i=0; i<content.length; i++) {
|
||||||
var codepoint = content.charCodeAt(i);
|
var codepoint = content.charCodeAt(i);
|
||||||
if (codepoint !== 0x200B) {
|
if (codepoint !== GuacUI.Client.TEXT_INPUT_PADDING_CODEPOINT) {
|
||||||
sent_text += String.fromCharCode(codepoint);
|
sent_text += String.fromCharCode(codepoint);
|
||||||
send_codepoint(codepoint);
|
send_codepoint(codepoint);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user