mirror of
https://github.com/zadam/trilium.git
synced 2025-06-05 01:18:44 +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);
|
||||
noteTree.setNoteTreeBackgroundBasedOnProtectedStatus(noteId);
|
||||
|
||||
// after loading new note make sure editor is scrolled to the top
|
||||
noteDetailWrapperEl.scrollTop(0);
|
||||
|
||||
showAppIfHidden();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user