aboutsummaryrefslogtreecommitdiff
path: root/src/js/arching-kaos-fetch.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/js/arching-kaos-fetch.js')
-rw-r--r--src/js/arching-kaos-fetch.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/js/arching-kaos-fetch.js b/src/js/arching-kaos-fetch.js
index 656cbe0..57d03c9 100644
--- a/src/js/arching-kaos-fetch.js
+++ b/src/js/arching-kaos-fetch.js
@@ -13,9 +13,9 @@ function archingKaosFetchJSON( url, callback, params ){
});
request.addEventListener("progress", (event)=>{
if (event.lengthComputable && progressPlaceholder){
- progressPlaceholder = (event.loaded / event.total) * 100;
+ progressPlaceholder.value = (event.loaded / event.total) * 100;
} else {
- progressPlaceholder = 0;
+ progressPlaceholder.value = 0;
}
});
request.addEventListener("abort", ()=>{