without this check we kill the directory autoload

This commit is contained in:
marijus 2014-09-10 17:40:50 +02:00
parent c1c2214b47
commit d825adf423

View file

@ -706,21 +706,23 @@ function updateConvItems(mode,data) {
}
function justifyPhotos() {
loadingPage = true;
$('#photo-album-contents').justifiedGallery({
lastRow : 'nojustify',
captions: true,
margins: 3,
rowHeight : 150,
sizeRangeSuffixes : {
'lt100': '',
'lt240': '',
'lt320': '',
'lt500': '',
'lt640': '',
'lt1024': ''
}
}).on('jg.complete', function(e){ loadingPage = false; });
if($('#photo-album-contents').length > 0) {
loadingPage = true;
$('#photo-album-contents').justifiedGallery({
lastRow : 'nojustify',
captions: true,
margins: 3,
rowHeight : 150,
sizeRangeSuffixes : {
'lt100': '',
'lt240': '',
'lt320': '',
'lt500': '',
'lt640': '',
'lt1024': ''
}
}).on('jg.complete', function(e){ loadingPage = false; });
}
}
function notify_popup_loader(notifyType) {