From 09771c4a988d3a94d1bff7674fad93bad6983b8d Mon Sep 17 00:00:00 2001 From: Sainan Date: Wed, 29 May 2024 03:22:26 +0200 Subject: [PATCH] Fix error when changing right value of template stat --- index.html | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/index.html b/index.html index a2463d0..232e135 100644 --- a/index.html +++ b/index.html @@ -230,6 +230,10 @@
Fingerprint
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,