mirror of
https://github.com/olehomelchenko/minivlat-local-ua.git
synced 2025-12-21 21:22:24 +00:00
Update chart dimensions for responsive design and enhance quiz completion alert localization
This commit is contained in:
@@ -44,7 +44,7 @@ document.addEventListener('DOMContentLoaded', function () {
|
||||
// Check if there is a completed quiz
|
||||
const allQuizzes = JSON.parse(localStorage.getItem('allQuizzes') || '{}');
|
||||
if (allQuizzes[quizId] && allQuizzes[quizId].completed) {
|
||||
alert("You have already completed the quiz. Redirecting to the questionnaire.");
|
||||
alert("Ви вже пройшли дослідження. Дякуємо! Перенаправлення на головну сторінку тесту.");
|
||||
window.location.href = 'index.html';
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user