Difference between revisions of "Team:GO Paris-Saclay"

Line 155: Line 155:
 
$('#top_title').remove();
 
$('#top_title').remove();
 
var progressBar = document.getElementById("progress");
 
var progressBar = document.getElementById("progress");
var display = document.getElementById("display");
+
var display = document.getElementById("progdisplay");
  
 
function reqListener () {
 
function reqListener () {
Line 207: Line 207:
 
req.onprogress = function(e) {
 
req.onprogress = function(e) {
 
     if (e.lengthComputable) {
 
     if (e.lengthComputable) {
    console.log(e);
 
 
         progressBar.max = e.total;
 
         progressBar.max = e.total;
 
         progressBar.value = e.loaded;
 
         progressBar.value = e.loaded;

Revision as of 15:33, 10 October 2018