mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-20 04:15:12 +00:00
without this check we kill the directory autoload
This commit is contained in:
parent
c1c2214b47
commit
d825adf423
1 changed files with 17 additions and 15 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue