diff options
author | Mario Vavti <mario@mariovavti.com> | 2019-06-10 22:39:53 +0200 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2019-06-10 22:39:53 +0200 |
commit | e81e264988c8f01ca11474525162398a865e5282 (patch) | |
tree | 45e41e937c1c5cafca77f6c7e4f8efa4773fa22c | |
parent | 15874ac45c15b8130d8748ba234a26d32bb2252d (diff) | |
download | volse-hubzilla-e81e264988c8f01ca11474525162398a865e5282.tar.gz volse-hubzilla-e81e264988c8f01ca11474525162398a865e5282.tar.bz2 volse-hubzilla-e81e264988c8f01ca11474525162398a865e5282.zip |
remove sizeRangeSuffixes. they can cause issues with profile photos.
-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; }); } |