1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-12-25 01:20:30 +00:00
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
parent f798bf5611
commit 53715bd3fd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -181,7 +181,7 @@ HttpClientRequest.prototype.send = function(callback) {
},
progress: function(lengthComputable,loaded,total) {
if(lengthComputable) {
setBinding(bindProgress,"" + Math.floor((loaded/total) * 100))
setBinding(self.bindProgress,"" + Math.floor((loaded/total) * 100))
}
self.wiki.invokeActionString(self.progressActions,undefined,{
lengthComputable: lengthComputable ? "yes" : "no",