Skip to content

Commit

Permalink
Add the subgalleries too.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrubinsk committed Jul 4, 2016
1 parent a50c4c9 commit 6eaa891
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ansel/js/ansel.js
Expand Up @@ -452,6 +452,9 @@ AnselCore =
new Element('img', { title: Ansel.text['download'], src: Ansel.conf.images['download'], 'class': 'ansel-gallery-download' })).insert(
new Element('img', { title: Ansel.text['upload'], src: Ansel.conf.images['upload'], 'class': 'ansel-gallery-upload' }))
);
if (r.sg) {
this.galleryLayout.galleries = r.sg;
}
this.galleryLayout.addImages(r.imgs);
this.updateOtherGalleries(r);
},
Expand Down

0 comments on commit 6eaa891

Please sign in to comment.