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

@@ -107,5 +107,6 @@ export default {
if (codeEditor) {
codeEditor.setValue('');
}
}
},
scrollToTop: () => $component.scrollTop(0)
}