diff --git a/quiz/static/JS/script.js b/quiz/static/JS/script.js index 22ee2d3..a407219 100644 --- a/quiz/static/JS/script.js +++ b/quiz/static/JS/script.js @@ -109,7 +109,8 @@ exitBtn.onclick = () => { function onEssentialClick(event) { book = event.target.classList[1]; if (!event.target.classList.contains('E1') && - !event.target.classList.contains('E2')) { + !event.target.classList.contains('E2') && + !event.target.classList.contains('E3')) { errorPopup.classList.add('active'); OKBtn.onclick = () => { errorPopup.classList.remove('active'); @@ -369,4 +370,4 @@ function updateURL(page) { // if (savedPage) { // loadPage(savedPage); // } -// }); \ No newline at end of file +// });