Skip to content

Commit 9640587

Browse files
oliveradriadead-claudia
authored andcommitted
Fix typo in examples/editor (#2350)
* Small typo prevented Markdown Editor example from working
1 parent 28a76d6 commit 9640587

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

editor/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
view: function() {
2929
return [
3030
m("textarea.input", {
31-
oninput: function (e) { state.update(e.traget.value) },
31+
oninput: function (e) { state.update(e.target.value) },
3232
value: state.text
3333
}),
3434
m(".preview", m.trust(marked(state.text))),

0 commit comments

Comments
 (0)