Fixed Hash Override in Modal
@ -28,7 +28,10 @@
window.addEventListener('touchend', function (event) {
var modal = getModal(event);
if (modal) modal.classList.toggle('active');
if (modal) {
modal.classList.toggle('active');
event.preventDefault(); // prevents rewriting url (apps can still use hash values in url)
}
});
}();/* ----------------------------------
* POPOVER v1.0.0
@ -20,6 +20,9 @@
}();