diff options
Diffstat (limited to 'src/js')
-rw-r--r-- | src/js/arching-kaos-fetch.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/js/arching-kaos-fetch.js b/src/js/arching-kaos-fetch.js index 57d03c9..9b401a3 100644 --- a/src/js/arching-kaos-fetch.js +++ b/src/js/arching-kaos-fetch.js @@ -13,9 +13,10 @@ function archingKaosFetchJSON( url, callback, params ){ }); request.addEventListener("progress", (event)=>{ if (event.lengthComputable && progressPlaceholder){ - progressPlaceholder.value = (event.loaded / event.total) * 100; + httpProgressPlaceholder.value = (event.loaded / event.total) * 100; } else { - progressPlaceholder.value = 0; + httpProgressPlaceholder.value = 0; + console.log("Supposingly zeroed progressPlaceholder"); } }); request.addEventListener("abort", ()=>{ |