fradrive/templates/widgets/modal/modal.julius
2019-03-10 15:47:55 +01:00

10 lines
250 B
Plaintext

document.addEventListener('DOMContentLoaded', function() {
var modalIdent = #{String modalId};
var selector = '#modal-' + modalIdent;
var modal = document.querySelector(selector);
if (modal) {
window.utils.setup('modal', modal);
}
});