Skip to content

Commit c74a1ca

Browse files
committed
Fix use of ES6 in addon
1 parent 76590dc commit c74a1ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

addon/display/placeholder.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
cm.on("blur", onBlur);
1616
cm.on("change", onChange);
1717
cm.on("swapDoc", onChange);
18-
CodeMirror.on(cm.getInputField(), "compositionupdate", cm.state.placeholderCompose = () => onComposition(cm))
18+
CodeMirror.on(cm.getInputField(), "compositionupdate", cm.state.placeholderCompose = function() { onComposition(cm) })
1919
onChange(cm);
2020
} else if (!val && prev) {
2121
cm.off("blur", onBlur);

0 commit comments

Comments
 (0)