aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/photos_recent.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'view/tpl/photos_recent.tpl')
-rwxr-xr-xview/tpl/photos_recent.tpl6
1 files changed, 4 insertions, 2 deletions
diff --git a/view/tpl/photos_recent.tpl b/view/tpl/photos_recent.tpl
index 8eaa208b1..0f86a635d 100755
--- a/view/tpl/photos_recent.tpl
+++ b/view/tpl/photos_recent.tpl
@@ -3,12 +3,14 @@
<a id="photo-top-upload-link" href="{{$upload.1}}">{{$upload.0}}</a>
{{/if}}
-<div id="photo-album-contents">
+<div id="photo-album-contents-{{$page}}">
{{foreach $photos as $photo}}
{{include file="photo_top.tpl"}}
{{/foreach}}
-<div id="page-end"></div>
+
</div>
+<script>justifyPhotos({{$page}});</script>
+<div id="page-end"></div>
<div class="photos-end"></div>
<script>$(document).ready(function() { loadingPage = false;});</script>
<div id="page-spinner"></div>