GUAC-692: Replace more magic numbers with constants.
This commit is contained in:
1 parent
65c56970cb
commit
afdc2cd005
1 file changed
+1
-1
@@ -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