diff options
Diffstat (limited to 'view')
-rwxr-xr-x | view/tpl/photo_album.tpl | 5 | ||||
-rwxr-xr-x | view/tpl/photos_recent.tpl | 5 |
2 files changed, 8 insertions, 2 deletions
diff --git a/view/tpl/photo_album.tpl b/view/tpl/photo_album.tpl index 8bacb1575..89b169f58 100755 --- a/view/tpl/photo_album.tpl +++ b/view/tpl/photo_album.tpl @@ -28,5 +28,8 @@ </div> </div> <div class="photos-end"></div> -<script>$(document).ready(function() { loadingPage = false; justifyPhotos('photo-album-contents-{{$album_id}}'); });</script> +<script> + loadingPage = false; + justifyPhotos('photo-album-contents-{{$album_id}}'); +</script> <div id="page-spinner"></div> diff --git a/view/tpl/photos_recent.tpl b/view/tpl/photos_recent.tpl index 8fe631ca6..c6a9067c1 100755 --- a/view/tpl/photos_recent.tpl +++ b/view/tpl/photos_recent.tpl @@ -19,5 +19,8 @@ </div> </div> <div class="photos-end"></div> -<script>$(document).ready(function() { loadingPage = false; justifyPhotos('photo-album-contents-{{$album_id}}'); });</script> +<script> + loadingPage = false; + justifyPhotos('photo-album-contents-{{$album_id}}'); +</script> <div id="page-spinner"></div> |