From e51635c4bbfc9809c816c256a87159fa7def584e Mon Sep 17 00:00:00 2001 From: ansuz Date: Tue, 29 Mar 2016 15:34:58 +0200 Subject: [PATCH] fix index error --- www/_socket/typingTest.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/www/_socket/typingTest.js b/www/_socket/typingTest.js index 4edc9d142..8ade1caf7 100644 --- a/www/_socket/typingTest.js +++ b/www/_socket/typingTest.js @@ -45,8 +45,7 @@ define(function () { var next = document.createTextNode(""); window.inner.appendChild(next); el = next; - j = 0; - return; + j = -1; } i = (i + 1) % l; j++;