aboutsummaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
authorSyndamia <kamen@syndamia.com>2025-02-12 11:53:46 +0200
committerSyndamia <kamen@syndamia.com>2025-02-12 11:53:46 +0200
commit0b3c3ddc50ef519491e727d306ec2f28cc5532d5 (patch)
tree66221f140d661c9a9aa844be609d52991cd67011 /views
parent6ca7ecdfab2b92bd9ee0a18d286e9b73b145634a (diff)
downloadnowayforward_human-0b3c3ddc50ef519491e727d306ec2f28cc5532d5.tar
nowayforward_human-0b3c3ddc50ef519491e727d306ec2f28cc5532d5.tar.gz
nowayforward_human-0b3c3ddc50ef519491e727d306ec2f28cc5532d5.zip
hotfix: Index NaNHEADmaster
Diffstat (limited to 'views')
-rw-r--r--views/archive/create/index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/views/archive/create/index.php b/views/archive/create/index.php
index 7d9ed97..8d1df66 100644
--- a/views/archive/create/index.php
+++ b/views/archive/create/index.php
@@ -37,7 +37,7 @@ function updatePosition(url) {
}
let pos = queuePos - request.responseText;
- if (pos === NaN) {
+ if (pos == NaN || pos === 'NaN') {
position.innerText = 'Archival timeouted! Archive is incomplete!';
}
else {