aboutsummaryrefslogtreecommitdiffstats
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:45:59 +0200
commit06bd540cfad381621eec84bc6d557c0b716f4aa3 (patch)
treefd0f5912e546cc46635bf883d1bf9f9844832eeb
parent3451fe2d40172fc556663b99baf11650ffd29003 (diff)
downloadvolse-hubzilla-06bd540cfad381621eec84bc6d557c0b716f4aa3.tar.gz
volse-hubzilla-06bd540cfad381621eec84bc6d557c0b716f4aa3.tar.bz2
volse-hubzilla-06bd540cfad381621eec84bc6d557c0b716f4aa3.zip
no need for jquery here
-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>