after loading new note make sure editor is scrolled to the top

This commit is contained in:
azivner 2017-12-28 20:13:54 -05:00
parent cf84114f91
commit bf2db6eac7

View File

@ -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();
}