mirror of
https://github.com/zadam/trilium.git
synced 2025-11-01 02:45:54 +01:00
after loading new note make sure editor is scrolled to the top
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user