without this check we kill the directory autoload
This commit is contained in:
parent
c1c2214b47
commit
d825adf423
@ -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) {
|
||||
|
Reference in New Issue
Block a user