From 10d4e3de1816fffe969d91a5cf46efcbf829e717 Mon Sep 17 00:00:00 2001 From: cajun <12363371+CajunAvenger@users.noreply.github.com> Date: Wed, 3 Dec 2025 20:27:33 -0600 Subject: [PATCH] Update index.html fix #186 --- index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.html b/index.html index 5cf76d0..04d0f61 100644 --- a/index.html +++ b/index.html @@ -847,7 +847,8 @@ canvas { ele.id = "preview" + pr_ind; ele.height = 96; ele.width = 96; - ele.onclick = function() {pickMon(pr_ind)}; + let num = 0 + pr_ind; + ele.onclick = function() {pickMon(num)}; document.getElementById("preview-boxes").appendChild(ele); } ele.src = mon_img; @@ -1328,7 +1329,6 @@ canvas { } } loadTextbox(cookie_vals.join("\n")); - } function getCookieName(g) { if(parseInt(g) < TYPE_FAV)