mirror of
https://github.com/zadam/trilium.git
synced 2025-11-03 11:56:01 +01:00
refactoring of legacy js events
This commit is contained in:
@@ -47,7 +47,7 @@ export default class SyncOptions {
|
||||
this.$syncProxy = $("#sync-proxy");
|
||||
this.$testSyncButton = $("#test-sync-button");
|
||||
|
||||
this.$form.submit(() => this.save());
|
||||
this.$form.on('submit', () => this.save());
|
||||
|
||||
this.$testSyncButton.on('click', async () => {
|
||||
const result = await server.post('sync/test');
|
||||
|
||||
Reference in New Issue
Block a user