prefer const
Some checks failed
Build / build (push) Failing after 41s
Build / build (pull_request) Failing after 1m50s

This commit is contained in:
Sainan 2025-06-07 02:19:13 +02:00
parent a57b27e4c9
commit 8783678033

View File

@ -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]) {