Update index.php

This commit is contained in:
James 2022-09-27 09:33:18 +02:00
parent b4fbf56bad
commit 58097084b8
1 changed files with 2 additions and 24 deletions

View File

@ -1005,17 +1005,6 @@
$("#mob_hp_dice_type").val(""); $("#mob_hp_dice_type").val("");
$("#mob_hp_max").val(""); $("#mob_hp_max").val("");
break; 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": case "averages":
$("#HP_max_card").hide("fast"); $("#HP_max_card").hide("fast");
$("#HP_hitdice_card").hide("fast"); $("#HP_hitdice_card").hide("fast");
@ -1048,9 +1037,9 @@
function usingDMGDice(e) { function usingDMGDice(e) {
switch (e) { switch (e) {
case "dice": case "dice":
$("#DMG_hitdice_card").hide("fast"); $("#DMG_hitdice_card").show("fast");
$("#DMG_average_card").hide("fast"); $("#DMG_average_card").hide("fast");
$("#DMG_max_card").show("fast"); $("#DMG_max_card").hide("fast");
$("#mob_dmg_avg").val(""); $("#mob_dmg_avg").val("");
$("#mob_dmg_dice_ammount").val(""); $("#mob_dmg_dice_ammount").val("");
@ -1068,17 +1057,6 @@
$("#mob_dmg_max").val(""); $("#mob_dmg_max").val("");
break; 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": case "max":