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("");