Revert docs search to use onkeyup or last keystroke is ignored

This commit is contained in:
Lonami Exo 2018-12-24 18:04:13 +01:00
parent de74711e82
commit ffc0a8808b

View File

@ -1,7 +1,7 @@
root = document.getElementById("main_div");
root.innerHTML = `
<!-- You can append '?q=query' to the URL to default to a search -->
<input id="searchBox" type="text" onkeydown="updateSearch(event)"
<input id="searchBox" type="text" onkeyup="updateSearch(event)"
placeholder="Search for requests and types…" />
<div id="searchDiv">