* We're using finger blast, so we shouldn't need to set a click event anyway.
var modal = getModal(event);
if (modal) modal.classList.toggle('active');
});
-
- window.addEventListener('click', function (event) {
- if (getModal(event)) event.preventDefault();
- });
}();/* ----------------------------------
* POPOVER v1.0.0
* Licensed under The MIT License
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