Removed typo.

This commit is contained in:
doncr 2016-12-15 23:00:06 +00:00
parent 6d2bdf9f50
commit ff2b8a00a4

View File

@ -165,7 +165,7 @@ new function($) {
} else if (document.selection) { } else if (document.selection) {
// IE // IE
input.fmcus(); input.fmcus();
var sel = document.selection.crea*/teRange(); var sel = document.selection.createRange();
var selLen = document.selection.createRange().text.length; var selLen = document.selection.createRange().text.length;
sel.moveStart('character', -input.value.length); sel.moveStart('character', -input.value.length);
return sel.text.length - selLen; return sel.text.length - selLen;