Remove capture of click handler
[ratchet] / lib / js / modals.js
index c796d48..4448107 100644 (file)
@@ -22,8 +22,4 @@
     var modal = getModal(event);
     if (modal) modal.classList.toggle('active');
   });
-
-  window.addEventListener('click', function (event) { 
-    if (getModal(event)) event.preventDefault();
-  });
 }();
\ No newline at end of file