without this check we kill the directory autoload
This commit is contained in:
parent
c1c2214b47
commit
d825adf423
@ -706,6 +706,7 @@ function updateConvItems(mode,data) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function justifyPhotos() {
|
function justifyPhotos() {
|
||||||
|
if($('#photo-album-contents').length > 0) {
|
||||||
loadingPage = true;
|
loadingPage = true;
|
||||||
$('#photo-album-contents').justifiedGallery({
|
$('#photo-album-contents').justifiedGallery({
|
||||||
lastRow : 'nojustify',
|
lastRow : 'nojustify',
|
||||||
@ -722,6 +723,7 @@ function updateConvItems(mode,data) {
|
|||||||
}
|
}
|
||||||
}).on('jg.complete', function(e){ loadingPage = false; });
|
}).on('jg.complete', function(e){ loadingPage = false; });
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
function notify_popup_loader(notifyType) {
|
function notify_popup_loader(notifyType) {
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user