From 6546b8cae1aead78da45dd269d13219257af04ab Mon Sep 17 00:00:00 2001 From: David Thompson Date: Sun, 8 Feb 2015 10:46:01 -0500 Subject: js: packages: Filter list oninput rather than onchange. * js/view/packages.js (guix.packages.view): s/onchange/oninput/ --- js/view/packages.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'js/view') diff --git a/js/view/packages.js b/js/view/packages.js index debb9f2..fde0fde 100644 --- a/js/view/packages.js +++ b/js/view/packages.js @@ -119,7 +119,7 @@ return m("input.form-control", { type: "text", placeholder: "Search", - onchange: m.withAttr("value", function(value) { + oninput: m.withAttr("value", function(value) { ctrl.searchTerm(value); ctrl.doSearch(); }), -- cgit v1.2.3