From 48c070f024d208de5cfb5b2909427e3f73769822 Mon Sep 17 00:00:00 2001 From: Tobias Date: Tue, 12 Sep 2023 22:37:10 +0200 Subject: [PATCH] fixed a bug in the damage monitor HTML stub; also, fixed a bug in addTestCombatant() that would open the add modal --- src/js/sr2ini.js | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/js/sr2ini.js b/src/js/sr2ini.js index 4420f74..2659d26 100644 --- a/src/js/sr2ini.js +++ b/src/js/sr2ini.js @@ -55,14 +55,14 @@ const DAMAGE_MONITOR_HTML = [ '
\n', '\n', '\n', - '\n', + '\n', '\n', - '\n', - '\n', + '\n', + '\n', '\n', - '\n', - '\n', - '\n', + '\n', + '\n', + '\n', '\n', '
\n', '
'].join(""); @@ -120,7 +120,7 @@ function getEffectiveIni(tr) { // add test combatant for testing purposes (duh) function addTestCombatant() { // Eclipse - $("#add-combatant-button").click(); +// $("#add-combatant-button").click(); $("#combatant-modal-name").val("Eclipse"); $("#combatant-modal-dice").val(3); $("#combatant-modal-rea").val(6);