From ff2b8a00a456d750a837cb9b78e2ee1216776aea Mon Sep 17 00:00:00 2001 From: doncr Date: Thu, 15 Dec 2016 23:00:06 +0000 Subject: [PATCH] Removed typo. --- conjugation/drill.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conjugation/drill.js b/conjugation/drill.js index 32f85c9..ef643b3 100644 --- a/conjugation/drill.js +++ b/conjugation/drill.js @@ -165,7 +165,7 @@ new function($) { } else if (document.selection) { // IE input.fmcus(); - var sel = document.selection.crea*/teRange(); + var sel = document.selection.createRange(); var selLen = document.selection.createRange().text.length; sel.moveStart('character', -input.value.length); return sel.text.length - selLen;