mirror of
https://github.com/zadam/trilium.git
synced 2025-11-04 20:36:13 +01:00
ability to remove attribute with mouse + other tweaks
This commit is contained in:
@@ -31,7 +31,7 @@ export default class TabAwareWidget extends BasicWidget {
|
||||
const start = Date.now();
|
||||
|
||||
this.toggleInt(true);
|
||||
await this.refreshWithNote(this.note, this.notePath);
|
||||
await this.refreshWithNote(this.note);
|
||||
|
||||
const end = Date.now();
|
||||
|
||||
@@ -44,7 +44,7 @@ export default class TabAwareWidget extends BasicWidget {
|
||||
}
|
||||
}
|
||||
|
||||
async refreshWithNote(note, notePath) {}
|
||||
async refreshWithNote(note) {}
|
||||
|
||||
async tabNoteSwitchedEvent({tabContext, notePath}) {
|
||||
// if notePath does not match then the tabContext has been switched to another note in the mean time
|
||||
@@ -99,4 +99,4 @@ export default class TabAwareWidget extends BasicWidget {
|
||||
|
||||
await this.refresh();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user