diff --git a/modal.js b/modal.js index c0a7563..fad4c50 100644 --- a/modal.js +++ b/modal.js @@ -6,7 +6,6 @@ modal.addEventListener('click', function (event) { modalId.classList.add('open'); var exits = modalId.querySelectorAll('.modal-exit'); - console.log(exits) exits.forEach(function (exit) { exit.addEventListener('click', function (event) { event.preventDefault();