1
0

Improve search script

This commit is contained in:
Emil Miler 2024-05-06 12:45:39 +02:00
parent aec76798e0
commit 62457781e5

View File

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