From 58097084b8e9a83555144e6235e80da583bd105b Mon Sep 17 00:00:00 2001 From: James <9213561+Gensokian@users.noreply.github.com> Date: Tue, 27 Sep 2022 09:33:18 +0200 Subject: [PATCH] Update index.php --- index.php | 26 ++------------------------ 1 file changed, 2 insertions(+), 24 deletions(-) diff --git a/index.php b/index.php index 236b8b8..e13215e 100644 --- a/index.php +++ b/index.php @@ -1005,17 +1005,6 @@ $("#mob_hp_dice_type").val(""); $("#mob_hp_max").val(""); break; - case "averages": - $("#HP_max_card").hide("fast"); - $("#HP_hitdice_card").hide("fast"); - $("#HP_average_card").show("fast"); - - $("#mob_hp_avg").val(""); - $("#mob_hp_dice_ammount").val(""); - $("#mob_hp_dice_type").val(""); - $("#mob_hp_max").val(""); - - break; case "averages": $("#HP_max_card").hide("fast"); $("#HP_hitdice_card").hide("fast"); @@ -1048,9 +1037,9 @@ function usingDMGDice(e) { switch (e) { case "dice": - $("#DMG_hitdice_card").hide("fast"); + $("#DMG_hitdice_card").show("fast"); $("#DMG_average_card").hide("fast"); - $("#DMG_max_card").show("fast"); + $("#DMG_max_card").hide("fast"); $("#mob_dmg_avg").val(""); $("#mob_dmg_dice_ammount").val(""); @@ -1068,17 +1057,6 @@ $("#mob_dmg_max").val(""); break; - case "averages": - $("#DMG_max_card").hide("fast"); - $("#DMG_hitdice_card").hide("fast"); - $("#DMG_average_card").show("fast"); - - $("#mob_dmg_avg").val(""); - $("#mob_dmg_dice_ammount").val(""); - $("#mob_dmg_dice_type").val(""); - $("#mob_dmg_max").val(""); - - break; case "max":