mirror of
				https://github.com/TriliumNext/Notes.git
				synced 2025-11-04 07:01:31 +08:00 
			
		
		
		
	Merge remote-tracking branch 'origin/stable'
This commit is contained in:
		
						commit
						3055ed86ec
					
				@ -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()) {
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user