m |
|||
Line 176: | Line 176: | ||
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:30, 10 October 2018
Loading, please wait