From 0854260d431e0617c018357206e5ba0b3c8cad2b Mon Sep 17 00:00:00 2001 From: Jeff Becker Date: Mon, 26 Dec 2016 11:48:45 -0500 Subject: [PATCH] fix --- contrib/static/search.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/static/search.js b/contrib/static/search.js index 4d53245..10e7dbd 100644 --- a/contrib/static/search.js +++ b/contrib/static/search.js @@ -63,7 +63,7 @@ function inject_search(elem) { search(); }; - input.onsubmit = function(ev) { + input.onkeydown = function(ev) { if (ev.keyCode == 13) search(); };