diff options
author | Mario <mario@mariovavti.com> | 2021-08-24 18:50:19 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2021-08-24 18:50:19 +0000 |
commit | f39952805557b33f612a3d1769057bcefffeb438 (patch) | |
tree | b6eee7d7fda21f40f57b984534c9d03e821159ae /view/js/main.js | |
parent | fea3980c01499d627655cbe93361526c540e543e (diff) | |
download | volse-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/main.js')
-rw-r--r-- | view/js/main.js | 2 |
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 ); }); |