mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 10:26:08 +01:00 
			
		
		
		
	return focus back to note detail after quitting add link dialog
This commit is contained in:
		| @@ -137,6 +137,10 @@ function linkTypeChanged() { | |||||||
|  |  | ||||||
| $linkTypes.change(linkTypeChanged); | $linkTypes.change(linkTypeChanged); | ||||||
|  |  | ||||||
|  | // return back focus to note text detail after quitting add link | ||||||
|  | // the problem is that cursor position is reset | ||||||
|  | $dialog.on("hidden.bs.modal", () => noteDetailText.focus()); | ||||||
|  |  | ||||||
| export default { | export default { | ||||||
|     showDialog |     showDialog | ||||||
| }; | }; | ||||||
		Reference in New Issue
	
	Block a user