Ensure taps aren't accidentally sent to the modal #169

Closed
wants to merge 1 commit into
from
Jump to file
+2 −1
Split
View
@@ -19,7 +19,8 @@
};
window.addEventListener('touchend', function (event) {
+ event.stopPropagation();
var modal = getModal(event);
if (modal) modal.classList.toggle('active');
});
-}();
+}();