diff --git a/src/js/exercise-popup.js b/src/js/exercise-popup.js index 3dc75bd..d717cde 100644 --- a/src/js/exercise-popup.js +++ b/src/js/exercise-popup.js @@ -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); -}; \ No newline at end of file +};