Thanks @btheado

Co-authored-by: btheado <brian.theado@gmail.com>
This commit is contained in:
Jeremy Ruston
2023-05-02 21:32:00 +01:00
committed by GitHub
co-authored by btheado
parent f798bf5611
commit 53715bd3fd
+1 -1
View File
@@ -181,7 +181,7 @@ HttpClientRequest.prototype.send = function(callback) {
}, },
progress: function(lengthComputable,loaded,total) { progress: function(lengthComputable,loaded,total) {
if(lengthComputable) { if(lengthComputable) {
setBinding(bindProgress,"" + Math.floor((loaded/total) * 100)) setBinding(self.bindProgress,"" + Math.floor((loaded/total) * 100))
} }
self.wiki.invokeActionString(self.progressActions,undefined,{ self.wiki.invokeActionString(self.progressActions,undefined,{
lengthComputable: lengthComputable ? "yes" : "no", lengthComputable: lengthComputable ? "yes" : "no",