GUAC-692: Replace more magic numbers with constants.

This commit is contained in:
Michael Jumper
2014-05-16 13:50:54 -07:00
parent 65c56970cb
commit afdc2cd005

View File

@@ -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);
} }