mirror of
https://github.com/flarum/core.git
synced 2025-07-25 18:51:40 +02:00
Use ES6 syntax
This commit is contained in:
@@ -52,7 +52,7 @@ export default class TextEditor extends Component {
|
||||
configTextarea(element, isInitialized) {
|
||||
if (isInitialized) return;
|
||||
|
||||
var handler = () => {
|
||||
const handler = () => {
|
||||
this.onsubmit();
|
||||
m.redraw();
|
||||
};
|
||||
|
Reference in New Issue
Block a user