mirror of
https://github.com/zebrajr/ladybird.git
synced 2025-12-06 00:19:53 +01:00
Base: Stop relying on const-ness not being enforced by LibJS
This commit is contained in:
parent
4e6da3b14a
commit
d821af1f24
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user