add comment to remind about unique identifiers
This commit is contained in:
parent
99394bf166
commit
a91bc3388f
@ -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);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user