From f94fa4e7e8f1d9e242f0a91f1932dd288f62ec85 Mon Sep 17 00:00:00 2001 From: James <9213561+Gensokian@users.noreply.github.com> Date: Mon, 26 Sep 2022 15:04:54 +0200 Subject: [PATCH] Update index.php --- index.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/index.php b/index.php index 0afa2eb..c21baf0 100644 --- a/index.php +++ b/index.php @@ -991,15 +991,16 @@ $("#HP_hitdice").show("fast"); $("#mob_hp_max").val(""); } else if (e == false) { - console.log("hello"); $("#HP_max").hide("fast"); $("#HP_hitdice").hide("fast"); $("#mob_hp_avg").val(""); $("#HP_average").show("fast"); $("#mob_hp_max").val(""); } else if (e == "max") { - $("#HP_average").hide("fast"); - $("#HP_hitdice").hide("fast"); + console.log("hello"); + + $("#HP_average").hide("fast"); + $("#HP_hitdice").hide("fast"); $("#HP_max").show("fast"); $("#mob_hp_avg").val(""); $("#mob_hp_dice_ammount").val("");