diff --git a/examples/editor/index.html b/examples/editor/index.html index a246a667..a4fcfe4d 100644 --- a/examples/editor/index.html +++ b/examples/editor/index.html @@ -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))),