diff --git a/src/public/app/widgets/note_title.js b/src/public/app/widgets/note_title.js index a8d5b5efc..59007faa6 100644 --- a/src/public/app/widgets/note_title.js +++ b/src/public/app/widgets/note_title.js @@ -52,7 +52,11 @@ export default class NoteTitleWidget extends NoteContextAwareWidget { this.$noteTitle.on('input', () => this.spacedUpdate.scheduleUpdate()); - this.$noteTitle.on('blur', () => { this.deleteNoteOnEscape = false }); + this.$noteTitle.on('blur', () => { + this.spacedUpdate.updateNowIfNecessary(); + + this.deleteNoteOnEscape = false; + }); utils.bindElShortcut(this.$noteTitle, 'esc', () => { if (this.deleteNoteOnEscape && this.noteContext.isActive()) {