From c7ed189cf36ee90121973124029ef8b0aa69336e Mon Sep 17 00:00:00 2001 From: Toby Zerner Date: Tue, 22 Sep 2015 17:23:47 +0930 Subject: [PATCH] Use ES6 syntax --- js/forum/src/components/TextEditor.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/forum/src/components/TextEditor.js b/js/forum/src/components/TextEditor.js index 3fdc2ad0c..1feaa7de1 100644 --- a/js/forum/src/components/TextEditor.js +++ b/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(); };