about summary refs log tree commit diff
path: root/web
diff options
context:
space:
mode:
authorsternenseemann <sternenseemann@systemli.org>2023-02-07 16:02:32 +0100
committersternenseemann <sternenseemann@systemli.org>2023-02-07 16:02:32 +0100
commit980b425220219abfabe8ba9370e69771b29f2dc6 (patch)
tree750d5e6fa0234645ca35e3d6a2cf4f56894067bb /web
parent769e9ae049646d436c27ed21650461cdb7f9815d (diff)
fix(web): fix typo in gatherParams
Diffstat (limited to 'web')
-rw-r--r--web/source/main.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/source/main.js b/web/source/main.js
index 8da6012..6943f78 100644
--- a/web/source/main.js
+++ b/web/source/main.js
@@ -473,7 +473,7 @@ function gatherParams() {
     }
 
     var seed = document.getElementById('seed').value;
-    if(seed === "" || isNan(seed)) {
+    if(seed === "" || isNaN(seed)) {
         seed = null;
     } else {
         seed = Number(seed);