Base: Stop relying on const-ness not being enforced by LibJS

This commit is contained in:
Emmanuel Ferdman 2025-07-30 03:44:56 -07:00 committed by Tim Flynn
parent 4e6da3b14a
commit d821af1f24

View File

@ -164,7 +164,7 @@ function addCustomSearchEngine() {
searchCustomName.classList.remove("error");
searchCustomURL.classList.remove("error");
for (const i = 0; i < searchEngine.length; ++i) {
for (let i = 0; i < searchEngine.length; ++i) {
if (searchCustomName.value === searchEngine.item(i).value) {
searchCustomName.classList.add("error");
return;