mirror of
https://github.com/zadam/trilium.git
synced 2025-11-13 16:55:50 +01:00
appContext is now component
This commit is contained in:
@@ -70,8 +70,8 @@ export default class StandardTopWidget extends BasicWidget {
|
||||
|
||||
this.$widget.prepend(historyNavigationWidget.render());
|
||||
|
||||
this.$widget.find(".jump-to-note-dialog-button").on('click', () => this.trigger('jumpToNote'));
|
||||
this.$widget.find(".recent-changes-button").on('click', () => this.trigger('showRecentChanges'));
|
||||
this.$widget.find(".jump-to-note-dialog-button").on('click', () => this.triggerEvent('jumpToNote'));
|
||||
this.$widget.find(".recent-changes-button").on('click', () => this.triggerEvent('showRecentChanges'));
|
||||
|
||||
this.$widget.find(".enter-protected-session-button").on('click', protectedSessionService.enterProtectedSession);
|
||||
this.$widget.find(".leave-protected-session-button").on('click', protectedSessionService.leaveProtectedSession);
|
||||
|
||||
Reference in New Issue
Block a user