fix scrolling to the top of detail after switching note

This commit is contained in:
azivner
2018-12-24 09:47:00 +01:00
parent 812f9f6fca
commit a32645cdeb
8 changed files with 15 additions and 8 deletions

View File

@@ -37,5 +37,6 @@ export default {
getContent: () => "",
focus: () => null,
onNoteChange: () => null,
cleanup: () => $noteDetailRenderContent.empty()
cleanup: () => $noteDetailRenderContent.empty(),
scrollToTop: () => $component.scrollTop(0)
}