components now track their parent

This commit is contained in:
zadam
2020-02-15 09:43:47 +01:00
parent 9337564075
commit 6d847d22d3
14 changed files with 66 additions and 58 deletions

View File

@@ -25,8 +25,8 @@ const TPL = `
</div>`;
export default class NoteTitleWidget extends TabAwareWidget {
constructor(appContext) {
super(appContext);
constructor(appContext, parent) {
super(appContext, parent);
this.spacedUpdate = new SpacedUpdate(async () => {
const title = this.$noteTitle.val();