aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2019-06-10 22:39:53 +0200
committerMario Vavti <mario@mariovavti.com>2019-06-10 22:39:53 +0200
commite81e264988c8f01ca11474525162398a865e5282 (patch)
tree45e41e937c1c5cafca77f6c7e4f8efa4773fa22c
parent15874ac45c15b8130d8748ba234a26d32bb2252d (diff)
downloadvolse-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.js12
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; });
}