commit 00c8fa120a3f0b8bf2d434bb01906d4d0b9027e5
parent a2ea4b99fde28677b6d19d0392e794e9a46139fc
Author: Ed van Bruggen <edvb@uw.edu>
Date: Fri, 18 Jun 2021 01:02:14 -0700
Increase speed of lightbox animations
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html
@@ -66,6 +66,9 @@
<script src="{{ "js/lightbox.min.js" | relURL }}"></script>
<script src="{{ "js/jquery.justifiedGallery.min.js" | relURL }}"></script>
<script>
+ lightbox.option({
+ 'resizeDuration': 250
+ })
$(".photos").justifiedGallery({
rowHeight: 300,
margins: 3,