add comment to remind about unique identifiers

This commit is contained in:
Felix Hamann 2019-02-19 23:38:04 +01:00
parent 99394bf166
commit a91bc3388f

View File

@ -1,4 +1,5 @@
document.addEventListener('DOMContentLoaded', function() {
// TODO: replace for loop with one precise query for this specific modal instance
var modalElements = Array.from(document.querySelectorAll('.modal'));
modalElements.forEach(function(modal) {
window.utils.setup('modal', modal);