diff --git a/framework/core/js/forum/src/components/TextEditor.js b/framework/core/js/forum/src/components/TextEditor.js index 3fdc2ad0c..1feaa7de1 100644 --- a/framework/core/js/forum/src/components/TextEditor.js +++ b/framework/core/js/forum/src/components/TextEditor.js @@ -52,7 +52,7 @@ export default class TextEditor extends Component { configTextarea(element, isInitialized) { if (isInitialized) return; - var handler = () => { + const handler = () => { this.onsubmit(); m.redraw(); };