This commit is contained in:
Ross
2021-03-01 08:51:47 +00:00
parent c2dba555ec
commit b826484c39
+1 -1
View File
@@ -117,7 +117,7 @@ export function getQuestion(url, question_number, question_total) {
url: url, url: url,
progress: function (e) { progress: function (e) {
$("#progress").html( $("#progress").html(
`Downloading question [${question_number}/${question_total}]<br/>This file is compressed (no size available)` `Downloading question [${question_number}/${question_total}]<br/>This file is compressed (no size available)`)
if (e.lengthComputable) { if (e.lengthComputable) {
var completedPercentage = Math.round((e.loaded * 100) / e.total); var completedPercentage = Math.round((e.loaded * 100) / e.total);