Skip to content

Commit 21559a2

Browse files
author
Will Bamberg
committed
Fix reset()
1 parent ae3ef04 commit 21559a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

editable-samples/js/editable.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ function applyCode() {
2828
}
2929

3030
reset.addEventListener("click", function() {
31-
cmEditor.doc.setValue(cmInit);
31+
cmEditor.doc.setValue(cmInitContent);
3232
applyCode();
3333
});
3434

0 commit comments

Comments
 (0)