()
| 1572 | |
| 1573 | // ---- Lift modals above cards, always clickable ---- |
| 1574 | function liftModals() { |
| 1575 | document.querySelectorAll('.modal').forEach(m => { m.style.pointerEvents = 'auto'; m.style.zIndex = '10000'; }); |
| 1576 | document.querySelectorAll('.modal .modal-content').forEach(c => { c.style.position = 'relative'; c.style.zIndex = '10001'; }); |
| 1577 | } |
| 1578 | |
| 1579 | // ---- Title fix after first list ---- |
| 1580 | function updateFileListTitle() { |