summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Thompson <dthompson2@worcester.edu>2015-02-08 10:46:01 -0500
committerDavid Thompson <dthompson2@worcester.edu>2015-02-08 10:46:01 -0500
commit6546b8cae1aead78da45dd269d13219257af04ab (patch)
tree400d5710801185669c64881972a52e5b56f77804
parent74217b986ba5582c70ec84b94b3b972764b515b6 (diff)
js: packages: Filter list oninput rather than onchange.
* js/view/packages.js (guix.packages.view): s/onchange/oninput/
-rw-r--r--js/view/packages.js2
1 files changed, 1 insertions, 1 deletions
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();
}),