mirror of
https://github.com/flarum/framework.git
synced 2025-02-01 00:15:17 +08:00
Use ES6 syntax
This commit is contained in:
parent
c61d2dfc27
commit
1a865a2ab3
|
@ -52,7 +52,7 @@ export default class TextEditor extends Component {
|
|||
configTextarea(element, isInitialized) {
|
||||
if (isInitialized) return;
|
||||
|
||||
var handler = () => {
|
||||
const handler = () => {
|
||||
this.onsubmit();
|
||||
m.redraw();
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue
Block a user