aboutsummaryrefslogtreecommitdiffstats
path: root/nikola/data/themes/bootstrap3/templates/gallery.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'nikola/data/themes/bootstrap3/templates/gallery.tmpl')
-rw-r--r--nikola/data/themes/bootstrap3/templates/gallery.tmpl1
1 files changed, 1 insertions, 0 deletions
diff --git a/nikola/data/themes/bootstrap3/templates/gallery.tmpl b/nikola/data/themes/bootstrap3/templates/gallery.tmpl
index af0c194..3dbfa82 100644
--- a/nikola/data/themes/bootstrap3/templates/gallery.tmpl
+++ b/nikola/data/themes/bootstrap3/templates/gallery.tmpl
@@ -90,5 +90,6 @@ $("#gallery_container").flowr({
}
});
$("a.image-reference").colorbox({rel:"gal", maxWidth:"100%",maxHeight:"100%",scalePhotos:true});
+$('a.image-reference[href="'+window.location.hash.substring(1,1000)+'"]').click();
</script>
</%block>