diff --git a/js/interact.js b/js/interact.js index 59aa93b..9498f81 100644 --- a/js/interact.js +++ b/js/interact.js @@ -116,6 +116,8 @@ export function getQuestion(url, question_number, question_total) { dataType: "json", url: url, progress: function (e) { + $("#progress").html( + `Downloading question [${question_number}/${question_total}]
This file is compressed (no size available)` if (e.lengthComputable) { var completedPercentage = Math.round((e.loaded * 100) / e.total); diff --git a/js/main.js b/js/main.js index 94e3f1d..e630fa1 100644 --- a/js/main.js +++ b/js/main.js @@ -259,6 +259,7 @@ function loadPacketFromAjax(path) { url: path, progress: function (e) { if (e.lengthComputable) { + console.log("1") var completedPercentage = Math.round((e.loaded * 100) / e.total); $("#progress").html(