Fix typo in examples/editor (#2350)

* Small typo prevented Markdown Editor example from working
This commit is contained in:
Oliver Adria 2018-12-30 06:26:03 +02:00 committed by Isiah Meadows
parent eaa1c13664
commit 1aaa2ff568

View file

@ -28,7 +28,7 @@ var Editor = {
view: function() {
return [
m("textarea.input", {
oninput: function (e) { state.update(e.traget.value) },
oninput: function (e) { state.update(e.target.value) },
value: state.text
}),
m(".preview", m.trust(marked(state.text))),