aboutsummaryrefslogtreecommitdiffstats
path: root/view/js/main.js
diff options
context:
space:
mode:
authormarijus <mario@mariovavti.com>2014-09-11 11:01:20 +0200
committermarijus <mario@mariovavti.com>2014-09-11 11:01:20 +0200
commitdf843925cf6441ef2b0a285bd6bf63366648cdba (patch)
treea22c663244ef42474146060b5fc5ae2aff939fba /view/js/main.js
parent3caee72aee3d5008f954e3ccf1dc2b61fedf23d8 (diff)
downloadvolse-hubzilla-df843925cf6441ef2b0a285bd6bf63366648cdba.tar.gz
volse-hubzilla-df843925cf6441ef2b0a285bd6bf63366648cdba.tar.bz2
volse-hubzilla-df843925cf6441ef2b0a285bd6bf63366648cdba.zip
should probably still lock autoload during image processing
Diffstat (limited to 'view/js/main.js')
-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) {