aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authorgit-marijus <mario@mariovavti.com>2017-07-30 10:45:59 +0200
committergit-marijus <mario@mariovavti.com>2017-07-30 10:46:37 +0200
commit11cdd0033d7cff690a9df75d8b5a3b8a29f8098b (patch)
treea32fe290f57aa1e82122f955a241a182e4d72a31 /view
parent222113ee5756a3944a937e9e7390466133d9bc5b (diff)
downloadvolse-hubzilla-11cdd0033d7cff690a9df75d8b5a3b8a29f8098b.tar.gz
volse-hubzilla-11cdd0033d7cff690a9df75d8b5a3b8a29f8098b.tar.bz2
volse-hubzilla-11cdd0033d7cff690a9df75d8b5a3b8a29f8098b.zip
no need for jquery here
Diffstat (limited to 'view')
-rwxr-xr-xview/tpl/photo_album.tpl5
-rwxr-xr-xview/tpl/photos_recent.tpl5
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>