IE8 fixes (should work with next mithril release)

This commit is contained in:
Steve Purcell 2014-08-12 14:48:45 +01:00
parent 162099dac6
commit 3c8113f669

View file

@ -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}, [