From 8783678033773b2e353c9546cdc282a82d54099f Mon Sep 17 00:00:00 2001 From: Sainan <63328889+Sainan@users.noreply.github.com> Date: Sat, 7 Jun 2025 02:19:13 +0200 Subject: [PATCH] prefer const --- static/webui/script.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/webui/script.js b/static/webui/script.js index 3c3cfa33..7465e92f 100644 --- a/static/webui/script.js +++ b/static/webui/script.js @@ -365,7 +365,7 @@ function fetchItemList() { .appendChild(option); } } else if (item.badReason != "notraw") { - let ambiguous = (nameToItems[item.name].length > 1); + const ambiguous = (nameToItems[item.name].length > 1); let canDisambiguate = true; if (ambiguous) { for (const i2 of nameToItems[item.name]) {