Fixed the scrollIntoView() position

This commit is contained in:
Simon Cambier
2024-01-05 20:59:38 +01:00
parent c5efa2ec90
commit 2ef38bdf26
3 changed files with 6 additions and 6 deletions

View File

@@ -186,7 +186,7 @@
function openSearchResult(note: ResultNote, newPane = false) {
saveCurrentQuery()
openNote(note, newPane)
openNote(note, note.matches[0].offset, newPane)
}
async function onClickCreateNote(_e: MouseEvent) {