From 1aaa2ff568491104d5e5816463292fdb01ff7c84 Mon Sep 17 00:00:00 2001 From: Oliver Adria Date: Sun, 30 Dec 2018 06:26:03 +0200 Subject: [PATCH] Fix typo in examples/editor (#2350) * Small typo prevented Markdown Editor example from working --- examples/editor/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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))),