fix: syntax error in static/index.html preventing user study from starting
Browse files- static/index.html +1 -5
static/index.html
CHANGED
|
@@ -509,11 +509,6 @@
|
|
| 509 |
});
|
| 510 |
});
|
| 511 |
}
|
| 512 |
-
|
| 513 |
-
span.textContent = item.token;
|
| 514 |
-
resultContainer.appendChild(span);
|
| 515 |
-
});
|
| 516 |
-
}
|
| 517 |
|
| 518 |
// ==========================================
|
| 519 |
// USER STUDY LOGIC
|
|
@@ -527,6 +522,7 @@
|
|
| 527 |
let currentReadingTimeMs = 0;
|
| 528 |
|
| 529 |
document.getElementById('start-study-btn').addEventListener('click', async () => {
|
|
|
|
| 530 |
document.getElementById('study-intro').style.display = 'none';
|
| 531 |
document.getElementById('study-loading').style.display = 'block';
|
| 532 |
|
|
|
|
| 509 |
});
|
| 510 |
});
|
| 511 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 512 |
|
| 513 |
// ==========================================
|
| 514 |
// USER STUDY LOGIC
|
|
|
|
| 522 |
let currentReadingTimeMs = 0;
|
| 523 |
|
| 524 |
document.getElementById('start-study-btn').addEventListener('click', async () => {
|
| 525 |
+
currentStep = 0;
|
| 526 |
document.getElementById('study-intro').style.display = 'none';
|
| 527 |
document.getElementById('study-loading').style.display = 'block';
|
| 528 |
|