make justifiedGallery happy again

This commit is contained in:
Mario Vavti
2017-09-27 15:48:13 +02:00
parent 9625d940a5
commit fb60eeaa9a
3 changed files with 7 additions and 2 deletions

View File

@@ -945,6 +945,7 @@ function pageUpdate() {
function justifyPhotos(id) {
justifiedGalleryActive = true;
$('#' + id).show();
$('#' + id).justifiedGallery({
selector: 'a, div:not(.spinner, #page-end)',
margins: 3,