Skip to content
Permalink
Browse files
fix #2146
  • Loading branch information
ralsina committed Nov 1, 2015
1 parent 4736322 commit 63b3ba908080ac4b3f9fa4314d78eaec9bde4adb
Showing with 6 additions and 0 deletions.
  1. +5 −0 CHANGES.txt
  2. +1 −0 nikola/data/themes/bootstrap3/templates/gallery.tmpl
@@ -1,6 +1,11 @@
New in Master
=============

Features
--------

* Automatically open gallery images colorbox based on URL fragment (Issue #2146)

Bugfixes
--------

@@ -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>

0 comments on commit 63b3ba9

Please sign in to comment.