From f39952805557b33f612a3d1769057bcefffeb438 Mon Sep 17 00:00:00 2001 From: Mario Date: Tue, 24 Aug 2021 18:50:19 +0000 Subject: more app descriptions and change the image counter to display % of images loaded instead of loaded images count --- view/js/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'view/js') 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 ); }); -- cgit v1.2.3