From 597e847a3b245140042f18fa34c0b25ef8445256 Mon Sep 17 00:00:00 2001 From: Mario Date: Fri, 1 Oct 2021 17:17:02 +0000 Subject: css fixes --- view/js/mod_photos.js | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'view/js/mod_photos.js') diff --git a/view/js/mod_photos.js b/view/js/mod_photos.js index faf14982b..c487fc417 100644 --- a/view/js/mod_photos.js +++ b/view/js/mod_photos.js @@ -82,7 +82,7 @@ function UploadInit() { // Dynamically update the percentage complete displayed in the file upload list $('#upload-progress-' + id).html(Math.round(data.loaded / data.total * 100) + '%'); - $('#upload-progress-bar-' + id).css('background-size', Math.round(data.loaded / data.total * 100) + '%'); + $('#upload-progress-bar-' + id).css('width', Math.round(data.loaded / data.total * 100) + '%'); }, stop: function(e,data) { @@ -97,6 +97,7 @@ function UploadInit() { } + function prepareHtml(f) { var num = f.idx - 1; var i = f.idx; @@ -109,7 +110,11 @@ function prepareHtml(f) { '' + formatSizeUnits(f.size) + '' + '' + '' + - '' + + '' + + '
' + + '
' + + '
' + + '' + '' ); } -- cgit v1.2.3