mirror of
https://github.com/zadam/trilium.git
synced 2025-11-02 19:36:12 +01:00
make initialization of launchers more robust
This commit is contained in:
@@ -78,8 +78,6 @@ export default class SyncStatusWidget extends BasicWidget {
|
||||
constructor() {
|
||||
super();
|
||||
|
||||
ws.subscribeToMessages(message => this.processMessage(message));
|
||||
|
||||
this.syncState = 'unknown';
|
||||
this.allChangesPushed = false;
|
||||
}
|
||||
@@ -93,8 +91,9 @@ export default class SyncStatusWidget extends BasicWidget {
|
||||
});
|
||||
|
||||
this.$widget.find('.sync-status-icon:not(.sync-status-in-progress)')
|
||||
.on('click', () => syncService.syncNow())
|
||||
.on('click', () => syncService.syncNow());
|
||||
|
||||
ws.subscribeToMessages(message => this.processMessage(message));
|
||||
}
|
||||
|
||||
showIcon(className) {
|
||||
|
||||
Reference in New Issue
Block a user