Fixed: clicking a result wasn't saving the query
This commit is contained in:
@@ -77,7 +77,11 @@
|
||||
|
||||
function onClick(evt?: MouseEvent | KeyboardEvent) {
|
||||
if (!selectedNote) return
|
||||
openNote(selectedNote, evt?.ctrlKey) // Keep ctrl pressed to open in a new pane
|
||||
if (evt?.ctrlKey) {
|
||||
openNoteInNewPane()
|
||||
} else {
|
||||
openNoteAndCloseModal()
|
||||
}
|
||||
modal.close()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user