Skip to content

Commit

Permalink
Fix error when changing right value of template stat
Browse files Browse the repository at this point in the history
  • Loading branch information
Sainan committed May 29, 2024
1 parent 4b0673c commit 09771c4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,10 @@ <h5 class="card-header">Fingerprint</h5>
const numCurses = document.querySelectorAll("#curses .input-group").length - 1;
const tag = div.querySelector("select").value;

if (!tag) {
return;
}

if (div.parentNode.id == "buffs") {
div.querySelector(".left-value").valueAsNumber = floatToLeftValue(RivenParser.unparseBuff(
rivenType,
Expand Down

0 comments on commit 09771c4

Please sign in to comment.