mirror of
https://github.com/zadam/trilium.git
synced 2025-01-15 03:27:44 +08:00
unneeded await
This commit is contained in:
parent
c95c5bb471
commit
22cea63863
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
||||
editor.model.document.on('change:data', () => this.spacedUpdate.scheduleUpdate());
|
||||
|
|
Loading…
Reference in a new issue