fix #336 (related: #151, #214, #288)

This commit is contained in:
Leo Horie 2014-11-12 20:37:16 -05:00
parent 5ed8891db3
commit 753b1abb21

View file

@ -333,6 +333,9 @@ Mithril = m = new function app(window, undefined) {
if (e.message.indexOf("Invalid argument") < 0) throw e
}
}
else if (attrName === "value" && tag === "input" && node.value !== dataAttr) {
node.value = dataAttr
}
}
return cachedAttrs
}