1
0

Improve search script

This commit is contained in:
Emil Miler 2024-05-06 12:45:39 +02:00
parent fb04f3a7a1
commit a104f6f2c0

View File

@ -7,5 +7,5 @@ function filter_name(str)
}
}
let articles = Array.from(document.getElementsByTagName("article"));
document.getElementById("search").style.display = "inline-block";
let articles = Array.from(document.querySelectorAll("article"));
document.querySelector("#search").style.display = "inline-block";