diff options
-rw-r--r-- | view/js/main.js | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/view/js/main.js b/view/js/main.js index e91bd914d..2eea7543d 100644 --- a/view/js/main.js +++ b/view/js/main.js @@ -1077,17 +1077,9 @@ function justifyPhotos(id) { justifiedGalleryActive = true; $('#' + id).show(); $('#' + id).justifiedGallery({ - selector: 'a, div:not(.spinner, #page-end)', + selector: 'a, div:not(#page-end)', margins: 3, - border: 0, - sizeRangeSuffixes: { - 'lt100': '-3', - 'lt240': '-3', - 'lt320': '-3', - 'lt500': '-2', - 'lt640': '-2', - 'lt1024': '-1' - } + border: 0 }).on('jg.complete', function(e){ justifiedGalleryActive = false; }); } |