From 59ec0c402240b9431f3e100544535564f2898bc8 Mon Sep 17 00:00:00 2001 From: James <9213561+Gensokian@users.noreply.github.com> Date: Mon, 26 Sep 2022 14:45:38 +0200 Subject: [PATCH] fixed logic --- index.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/index.php b/index.php index cfa6fc5..86ebccb 100644 --- a/index.php +++ b/index.php @@ -205,8 +205,8 @@
Health kind Are we using Average Health or HP Dice?
- - + +
@@ -970,14 +970,14 @@ function usingHPDice(e) { if (e) { - $("#HP_hitdice").hide("fast"); - $("#mob_hp_avg").val(""); - $("#HP_average").show("fast"); - } else { $("#HP_average").hide("fast"); $("#mob_hp_dice_ammount").val(""); $("#mob_hp_dice_type").val(""); $("#HP_hitdice").show("fast"); + } else { + $("#HP_hitdice").hide("fast"); + $("#mob_hp_avg").val(""); + $("#HP_average").show("fast"); } calcDiff(); }