From 3c8113f669e6277442a1bd20bbdb7a61b9eeac76 Mon Sep 17 00:00:00 2001 From: Steve Purcell Date: Tue, 12 Aug 2014 14:48:45 +0100 Subject: [PATCH] IE8 fixes (should work with next mithril release) --- html/js/melpa.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/html/js/melpa.js b/html/js/melpa.js index 345a0d72..d8d55927 100644 --- a/html/js/melpa.js +++ b/html/js/melpa.js @@ -212,7 +212,7 @@ ]) ]), m("p", [ - m("input.form-control", {type: "search", placeholder: "Enter filter terms", autofocus: true, + m("input.form-control[type=search]", {placeholder: "Enter filter terms", autofocus: true, value: ctrl.filterTerms(), onkeyup: m.withAttr("value", ctrl.filterTerms)}), " ", m("span.help-block", ["Showing ", _.keys(visible).length, " matching package(s)"]) @@ -230,7 +230,7 @@ ]), m("tbody", ctrl.sortedPackages().map(function(p) { - return m("tr", {class: visible[p.name] ? '' : 'filtered'}, + return m("tr", { "class": visible[p.name] ? '' : 'filtered'}, [ m("td", [ m("a", {href: "/" + p.name, config: m.route}, [