aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--view/js/main.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/view/js/main.js b/view/js/main.js
index e263fd116..2e5d3166a 100644
--- a/view/js/main.js
+++ b/view/js/main.js
@@ -705,6 +705,7 @@ function updateConvItems(mode,data) {
}
function justifyPhotos(bParam_page) {
+ loadingPage = true;
$('#photo-album-contents-' + bParam_page).justifiedGallery({
lastRow : 'nojustify',
captions: true,
@@ -718,7 +719,7 @@ function updateConvItems(mode,data) {
'lt640': '',
'lt1024': ''
}
- });
+ }).on('jg.complete', function(e){ loadingPage = false; });
}
function notify_popup_loader(notifyType) {