mirror of
https://github.com/TitanEmbeds/Titan.git
synced 2024-12-24 14:07:03 +01:00
How does percentage work again?
This commit is contained in:
parent
127d6609b8
commit
38bf9133da
@ -164,7 +164,7 @@
|
||||
// For handling the progress of the upload
|
||||
myXhr.upload.addEventListener('progress', function(e) {
|
||||
if (e.lengthComputable) {
|
||||
$("#filemodalprogress-inner").css("width", (e.loaded/e.total) + "%")
|
||||
$("#filemodalprogress-inner").css("width", (e.loaded/e.total) * 100 + "%")
|
||||
}
|
||||
} , false);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user