Skip to content

Commit

Permalink
Update script.js
Browse files Browse the repository at this point in the history
  • Loading branch information
shakhzod2000 authored Nov 21, 2024
1 parent 81deba9 commit 1f5539a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions quiz/static/JS/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down Expand Up @@ -369,4 +370,4 @@ function updateURL(page) {
// if (savedPage) {
// loadPage(savedPage);
// }
// });
// });

0 comments on commit 1f5539a

Please sign in to comment.