1
0
mirror of https://github.com/flarum/core.git synced 2025-07-20 00:01:17 +02:00

Use ES6 syntax

This commit is contained in:
Toby Zerner
2015-09-22 17:23:47 +09:30
parent c61d2dfc27
commit 1a865a2ab3

View File

@@ -52,7 +52,7 @@ export default class TextEditor extends Component {
configTextarea(element, isInitialized) { configTextarea(element, isInitialized) {
if (isInitialized) return; if (isInitialized) return;
var handler = () => { const handler = () => {
this.onsubmit(); this.onsubmit();
m.redraw(); m.redraw();
}; };