Skip to content

Commit

Permalink
Merge pull request #98 from TOP10-ms-students/maksar24-bugfix
Browse files Browse the repository at this point in the history
Update exercise-popup.js
  • Loading branch information
ICxodnik authored Feb 26, 2024
2 parents c4a6a85 + 4bfcdc8 commit b03f8b6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/js/exercise-popup.js
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ function showModalExercise() {
function closeModalExercise() {
overlay.classList.add('hidden');
modalExercise.classList.add('hidden');
document.body.style.overflow = 'scroll';
document.body.style.overflow = 'auto';
overlay.removeEventListener('click', clickOnOverlay);
document.removeEventListener('keydown', clickOnEscape);
};
};

0 comments on commit b03f8b6

Please sign in to comment.