aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2017-09-27 16:04:21 +0200
committerMario Vavti <mario@mariovavti.com>2017-09-27 16:04:21 +0200
commit7d386c27771a2a71eca7813a6d9aca00ae3738c4 (patch)
treedfa276de053548a70bb9a919a7640a5a6edae13d
parentfb60eeaa9a80484ca9532a717085626ad045c1bd (diff)
downloadvolse-hubzilla-7d386c27771a2a71eca7813a6d9aca00ae3738c4.tar.gz
volse-hubzilla-7d386c27771a2a71eca7813a6d9aca00ae3738c4.tar.bz2
volse-hubzilla-7d386c27771a2a71eca7813a6d9aca00ae3738c4.zip
make justifiedGallery even more happy
-rw-r--r--Zotlabs/Module/Photos.php2
-rwxr-xr-xview/tpl/photo_album.tpl2
2 files changed, 2 insertions, 2 deletions
diff --git a/Zotlabs/Module/Photos.php b/Zotlabs/Module/Photos.php
index f86801fcc..2ca9bfe50 100644
--- a/Zotlabs/Module/Photos.php
+++ b/Zotlabs/Module/Photos.php
@@ -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 {
diff --git a/view/tpl/photo_album.tpl b/view/tpl/photo_album.tpl
index 8dadeb8cb..5604c969c 100755
--- a/view/tpl/photo_album.tpl
+++ b/view/tpl/photo_album.tpl
@@ -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>