Skip to content
Merged

Dev #2801

Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -619,6 +619,11 @@
console.warn('init() called again but already initialized, returning early');
return;
}

const modalEl = document.getElementById('notificationModal');
if (modalEl && modalEl.parentElement !== document.body) {
document.body.appendChild(modalEl);
}

console.debug('init() starting');

Expand All @@ -633,7 +638,6 @@

configureSubmitOnlyValidation();

const modalEl = document.getElementById('notificationModal');
if (modalEl) {
// Always reset validation when modal is fully closed
modalEl.addEventListener('hidden.bs.modal', () => resetValidationState());
Expand Down
Loading