remove sizeRangeSuffixes. they can cause issues with profile photos.

(cherry picked from commit e81e264988)
This commit is contained in:
Mario Vavti 2019-06-10 20:39:53 +00:00 committed by Mario
parent eacc29ded0
commit 7889612edc

View File

@ -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; });
}