aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl
diff options
context:
space:
mode:
authormarijus <mario@mariovavti.com>2014-09-20 15:40:40 +0200
committermarijus <mario@mariovavti.com>2014-09-20 15:40:40 +0200
commit9feb619bea39824823ce39ca203b92fb6b68e6fb (patch)
treeac702d6766e6cb2d39ea4f66a9a0a5fc4dd42b9c /view/tpl
parent1c564428182ea25892896109f6d8ec3f2a98b045 (diff)
downloadvolse-hubzilla-9feb619bea39824823ce39ca203b92fb6b68e6fb.tar.gz
volse-hubzilla-9feb619bea39824823ce39ca203b92fb6b68e6fb.tar.bz2
volse-hubzilla-9feb619bea39824823ce39ca203b92fb6b68e6fb.zip
update jg to latest preview release and try once more to really justify the whole gallery
Diffstat (limited to 'view/tpl')
-rwxr-xr-xview/tpl/photos_recent.tpl8
-rwxr-xr-xview/tpl/photosajax.tpl5
2 files changed, 4 insertions, 9 deletions
diff --git a/view/tpl/photos_recent.tpl b/view/tpl/photos_recent.tpl
index 0f86a635d..fce518cfe 100755
--- a/view/tpl/photos_recent.tpl
+++ b/view/tpl/photos_recent.tpl
@@ -3,14 +3,12 @@
<a id="photo-top-upload-link" href="{{$upload.1}}">{{$upload.0}}</a>
{{/if}}
-<div id="photo-album-contents-{{$page}}">
+<div id="photo-album-contents">
{{foreach $photos as $photo}}
{{include file="photo_top.tpl"}}
{{/foreach}}
-
-</div>
-<script>justifyPhotos({{$page}});</script>
<div id="page-end"></div>
+</div>
<div class="photos-end"></div>
-<script>$(document).ready(function() { loadingPage = false;});</script>
+<script>$(document).ready(function() { loadingPage = false; justifyPhotos(); });</script>
<div id="page-spinner"></div>
diff --git a/view/tpl/photosajax.tpl b/view/tpl/photosajax.tpl
index a9a9605d0..632aab2b3 100755
--- a/view/tpl/photosajax.tpl
+++ b/view/tpl/photosajax.tpl
@@ -1,7 +1,4 @@
-<!-- -->
-<div id="photo-album-contents-{{$page}}">
{{foreach $photos as $photo}}
{{include file="photo_top.tpl"}}
{{/foreach}}
-</div>
-<script>justifyPhotos({{$page}});</script>
+<script>justifyPhotosAjax()</script>