mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 10:26:08 +01:00 
			
		
		
		
	fix repeated invocation of actions in note actions dropdown, closes #2255
This commit is contained in:
		| @@ -57,7 +57,7 @@ export default class NoteActionsWidget extends NoteContextAwareWidget { | ||||
|         this.$importNoteButton = this.$widget.find('.import-files-button'); | ||||
|         this.$importNoteButton.on("click", () => import('../../dialogs/import.js').then(d => d.showDialog(this.noteId))); | ||||
|  | ||||
|         this.$widget.on('click', '.dropdown-item', () => this.$widget.find('.dropdown-menu').dropdown('toggle')); | ||||
|         this.$widget.on('click', '.dropdown-item', () => this.$widget.find("[data-toggle='dropdown']").dropdown('toggle')); | ||||
|  | ||||
|         this.$openNoteExternallyButton = this.$widget.find(".open-note-externally-button"); | ||||
|     } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user