Improve search script
This commit is contained in:
parent
fb04f3a7a1
commit
a104f6f2c0
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user