Fix media lightbox and sleep target

This commit is contained in:
hnzio committed 2026-05-19 16:07:35 +02:00
1 parent 3e497a8047
commit 6a5852654b
7 files changed
+92 -18

No files matched your search

+4
View File
@@ -1658,6 +1658,10 @@
return;
}
if (lightbox.parentElement !== document.body) {
document.body.appendChild(lightbox);
}
const close = () => {
lightbox.setAttribute("hidden", "hidden");
content.replaceChildren();