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