aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAche <ache@ache.one>2016-08-27 00:30:27 +0200
committerAche <ache@ache.one>2016-08-27 00:30:27 +0200
commit3184b38927ff459cca50ee2958860b5dac817c22 (patch)
tree8c5aa72ee60cb5a22319487ee8180fddb95f8b21
parentReset button added (diff)
Fix reset count
-rw-r--r--synhestesis.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/synhestesis.js b/synhestesis.js
index 2918b07..ef7a83e 100644
--- a/synhestesis.js
+++ b/synhestesis.js
@@ -61,6 +61,7 @@ function handleFileSelect(evt) {
function reset() {
cmpGood = 0
cmpBad = 0
+ indexRes = 0
res = last;
shuffle(res.answer);
compteurSpan.innerText = "0/" + res.answer.length;