mirror of
https://github.com/zadam/trilium.git
synced 2025-06-06 09:58:32 +02:00
unneeded await
This commit is contained in:
parent
c95c5bb471
commit
22cea63863
@ -154,7 +154,7 @@ export default class EditableTextTypeWidget extends AbstractTextTypeWidget {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
await this.watchdog.setCreator(async (elementOrData, editorConfig) => {
|
this.watchdog.setCreator(async (elementOrData, editorConfig) => {
|
||||||
const editor = await BalloonEditor.create(elementOrData, editorConfig);
|
const editor = await BalloonEditor.create(elementOrData, editorConfig);
|
||||||
|
|
||||||
editor.model.document.on('change:data', () => this.spacedUpdate.scheduleUpdate());
|
editor.model.document.on('change:data', () => this.spacedUpdate.scheduleUpdate());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user