Fix media lightbox and sleep target
This commit is contained in:
1 parent
3e497a8047
commit
6a5852654b
7 files changed
+92
-18
No files matched your search
@@ -1658,6 +1658,10 @@
|
||||
return;
|
||||
}
|
||||
|
||||
if (lightbox.parentElement !== document.body) {
|
||||
document.body.appendChild(lightbox);
|
||||
}
|
||||
|
||||
const close = () => {
|
||||
lightbox.setAttribute("hidden", "hidden");
|
||||
content.replaceChildren();
|
||||
|
||||
Reference in new issue
Block a user