From fb60eeaa9a80484ca9532a717085626ad045c1bd Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Wed, 27 Sep 2017 15:48:13 +0200 Subject: make justifiedGallery happy again --- view/js/main.js | 1 + view/tpl/photo_album.tpl | 4 +++- view/tpl/photos_recent.tpl | 4 +++- 3 files changed, 7 insertions(+), 2 deletions(-) (limited to 'view') diff --git a/view/js/main.js b/view/js/main.js index 1634eef1b..73b2f3616 100644 --- a/view/js/main.js +++ b/view/js/main.js @@ -945,6 +945,7 @@ function pageUpdate() { function justifyPhotos(id) { justifiedGalleryActive = true; + $('#' + id).show(); $('#' + id).justifiedGallery({ selector: 'a, div:not(.spinner, #page-end)', margins: 3, diff --git a/view/tpl/photo_album.tpl b/view/tpl/photo_album.tpl index e27cdd10b..8dadeb8cb 100755 --- a/view/tpl/photo_album.tpl +++ b/view/tpl/photo_album.tpl @@ -19,7 +19,7 @@ {{$upload_form}} {{$album_edit.1}}
-
+
diff --git a/view/tpl/photos_recent.tpl b/view/tpl/photos_recent.tpl index 43627883d..c8b20d468 100755 --- a/view/tpl/photos_recent.tpl +++ b/view/tpl/photos_recent.tpl @@ -10,7 +10,7 @@
{{$upload_form}}
-
+
-- cgit v1.2.3