remove sizeRangeSuffixes. they can cause issues with profile photos.
(cherry picked from commit e81e264988
)
This commit is contained in:
parent
eacc29ded0
commit
7889612edc
@ -1077,17 +1077,9 @@ function justifyPhotos(id) {
|
|||||||
justifiedGalleryActive = true;
|
justifiedGalleryActive = true;
|
||||||
$('#' + id).show();
|
$('#' + id).show();
|
||||||
$('#' + id).justifiedGallery({
|
$('#' + id).justifiedGallery({
|
||||||
selector: 'a, div:not(.spinner, #page-end)',
|
selector: 'a, div:not(#page-end)',
|
||||||
margins: 3,
|
margins: 3,
|
||||||
border: 0,
|
border: 0
|
||||||
sizeRangeSuffixes: {
|
|
||||||
'lt100': '-3',
|
|
||||||
'lt240': '-3',
|
|
||||||
'lt320': '-3',
|
|
||||||
'lt500': '-2',
|
|
||||||
'lt640': '-2',
|
|
||||||
'lt1024': '-1'
|
|
||||||
}
|
|
||||||
}).on('jg.complete', function(e){ justifiedGalleryActive = false; });
|
}).on('jg.complete', function(e){ justifiedGalleryActive = false; });
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user