From 3c1ff1a263fe5dc22de1adf2923159b8df13dfe5 Mon Sep 17 00:00:00 2001 From: hppeng Date: Mon, 11 Jul 2022 00:59:53 -0700 Subject: [PATCH] Fix isNaN typo --- js/atree.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/atree.js b/js/atree.js index eb668f9..6ffcd43 100644 --- a/js/atree.js +++ b/js/atree.js @@ -425,7 +425,7 @@ const atree_render_active = new (class extends ComputeNode { const level = parseInt(input_map.get('level')); const active_AP_cap = document.getElementById('active_AP_cap'); let AP_cap; - if (isNan(level)) { + if (isNaN(level)) { AP_cap = 45; } else {