mirror of
https://github.com/LD-Reborn/Berufsschule_HAM.git
synced 2025-12-20 06:51:55 +00:00
Merge pull request #309 from LD-Reborn/280-close-button-on-user-view-doesnt-work
Fixed close button on user view doesnt work
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user