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,6 +706,7 @@ function updateConvItems(mode,data) {
}
function justifyPhotos() {
if($('#photo-album-contents').length > 0) {
loadingPage = true;
$('#photo-album-contents').justifiedGallery({
lastRow : 'nojustify',
@ -722,6 +723,7 @@ function updateConvItems(mode,data) {
}
}).on('jg.complete', function(e){ loadingPage = false; });
}
}
function notify_popup_loader(notifyType) {