refactored TabContext => NoteContext

This commit is contained in:
zadam
2021-05-22 12:35:41 +02:00
parent 274cf7312c
commit 79a85a0aa7
60 changed files with 187 additions and 187 deletions

View File

@@ -7,7 +7,7 @@ export default class ScrollingContainer extends Container {
this.css('height: 100%; overflow: auto;');
}
async tabNoteSwitchedEvent({noteContext, notePath}) {
async noteSwitchedEvent({noteContext, notePath}) {
// if notePath does not match then the noteContext has been switched to another note in the mean time
if (noteContext.notePath === notePath) {
this.$widget.scrollTop(0);