aboutsummaryrefslogtreecommitdiffstats
path: root/view/js
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2021-08-24 18:50:19 +0000
committerMario <mario@mariovavti.com>2021-08-24 18:50:19 +0000
commitf39952805557b33f612a3d1769057bcefffeb438 (patch)
treeb6eee7d7fda21f40f57b984534c9d03e821159ae /view/js
parentfea3980c01499d627655cbe93361526c540e543e (diff)
downloadvolse-hubzilla-f39952805557b33f612a3d1769057bcefffeb438.tar.gz
volse-hubzilla-f39952805557b33f612a3d1769057bcefffeb438.tar.bz2
volse-hubzilla-f39952805557b33f612a3d1769057bcefffeb438.zip
more app descriptions and change the image counter to display % of images loaded instead of loaded images count
Diffstat (limited to 'view/js')
-rw-r--r--view/js/main.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/view/js/main.js b/view/js/main.js
index db844a6f0..68f3415ee 100644
--- a/view/js/main.js
+++ b/view/js/main.js
@@ -1014,7 +1014,7 @@ function liveUpdate(notify_id) {
//console.log('all images loaded, at least one is broken');
})
.progress( function( instance, image ) {
- $('#image_counter').html(instance.progressedCount + '/' + instance.images.length);
+ $('#image_counter').html(Math.floor((instance.progressedCount*100)/instance.images.length) + '%');
//var result = image.isLoaded ? 'loaded' : 'broken';
//console.log( 'image is ' + result + ' for ' + image.img.src );
});