mirror of
https://github.com/flarum/framework.git
synced 2025-05-02 17:44:03 +08:00
Use ES6 syntax
This commit is contained in:
parent
ab6e3351b4
commit
c7ed189cf3
@ -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();
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user