diff --git a/src/Views/Home/Users.cshtml b/src/Views/Home/Users.cshtml index aa3dafd..f31b48e 100644 --- a/src/Views/Home/Users.cshtml +++ b/src/Views/Home/Users.cshtml @@ -694,7 +694,7 @@ }); function registerRowDetailviewClick(row) { const detailModalEl = document.getElementById('detailModal'); - const detailModal = new bootstrap.Modal(detailModalEl); + const detailModal = bootstrap.Modal.getOrCreateInstance(detailModalEl); row.addEventListener('click', (e) => { // Don’t trigger when clicking inside the action buttons if (e.target.closest('button')) return;