make appearance of lightbox configurable
This commit is contained in:
1 parent
dc64b7bda1
commit
0a778ee8e9
6 files changed
+23
-9
No files matched your search
@@ -9,7 +9,11 @@ function openLightbox(id) {
|
||||
document.getElementById(lightbox_baseid + id).style.display = "block";
|
||||
|
||||
// Kill automatic slideshow when lightbox opened
|
||||
clearInterval(autoSlideshow);
|
||||
try {
|
||||
clearInterval(autoSlideshow);
|
||||
} catch (e) {
|
||||
console.log("Lightbox error: " + e)
|
||||
}
|
||||
}
|
||||
|
||||
// Close the Lightbox
|
||||
|
||||
Reference in new issue
Block a user