diff --git a/search.js b/search.js index ec96778..39df537 100644 --- a/search.js +++ b/search.js @@ -154,7 +154,7 @@ function load(res, page) { var timer; id("search").addEventListener("input", function() { clearTimeout(timer); - const q = id("search").value.trim(); + var q = id("search").value.trim(); if (q != id("search").value) { id("search").value = q; }