mirror of
https://github.com/zadam/trilium.git
synced 2025-06-06 18:08:33 +02:00
after loading new note make sure editor is scrolled to the top
This commit is contained in:
parent
cf84114f91
commit
bf2db6eac7
@ -128,6 +128,9 @@ const noteEditor = (function() {
|
|||||||
setNoteBackgroundIfProtected(currentNote);
|
setNoteBackgroundIfProtected(currentNote);
|
||||||
noteTree.setNoteTreeBackgroundBasedOnProtectedStatus(noteId);
|
noteTree.setNoteTreeBackgroundBasedOnProtectedStatus(noteId);
|
||||||
|
|
||||||
|
// after loading new note make sure editor is scrolled to the top
|
||||||
|
noteDetailWrapperEl.scrollTop(0);
|
||||||
|
|
||||||
showAppIfHidden();
|
showAppIfHidden();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user