This commit is contained in:
Tomasz Kaliński 2026-06-24 08:37:13 +00:00 committed by GitHub
commit a0b20c2d88
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -8,6 +8,10 @@
*/ */
document.addEventListener('show.bs.modal', function (event) { document.addEventListener('show.bs.modal', function (event) {
if (event.target.closest('[data-controller~="live"]')) {
return;
}
if (event.target.parentElement !== document.body) { if (event.target.parentElement !== document.body) {
document.body.appendChild(event.target); document.body.appendChild(event.target);
} }