Initial commit
This commit is contained in:
1
html/js/fullscreen.min.js
vendored
Normal file
1
html/js/fullscreen.min.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
function openLightbox(e){var n,o=e.src,s=o.replace(/(\.\w+)$/,"_full$1"),i=document.getElementById("lightbox"),t=document.getElementById("lightbox-image");t.style.display="none",i.style.display="flex",n=new Image,n.onload=function(){t.src=s,t.style.display="block"},n.src=s,document.body.classList.add("no-scroll")}function closeLightbox(){document.getElementById("lightbox").style.display="none",document.body.classList.remove("no-scroll")}
|
||||
Reference in New Issue
Block a user