make justifiedGallery even more happy

This commit is contained in:
Mario Vavti 2017-09-27 16:04:21 +02:00
parent fb60eeaa9a
commit 7d386c2777
2 changed files with 2 additions and 2 deletions

View file

@ -770,7 +770,7 @@ class Photos extends \Zotlabs\Web\Controller {
if($photos) {
$o = replace_macros(get_markup_template('photosajax.tpl'),array(
'$photos' => $photos,
'$album_id' => bin2hex($album)
'$album_id' => $datum
));
}
else {

View file

@ -27,13 +27,13 @@
</div>
</div>
</div>
<div class="photos-end"></div>
<script>
$(document).ready(function() {
loadingPage = false;
justifyPhotos('photo-album-contents-{{$album_id}}');
});
</script>
<div class="photos-end"></div>
<div id="page-spinner" class="spinner-wrapper">
<div class="spinner m"></div>
</div>