mirror of
https://github.com/zadam/trilium.git
synced 2025-10-29 01:06:36 +01:00
refactoring of legacy js events
This commit is contained in:
@@ -119,10 +119,10 @@ async function showTables() {
|
||||
|
||||
$tableLink
|
||||
.tooltip({html: true, title: $columns.html()})
|
||||
.click(() => codeEditor.setValue("SELECT * FROM " + table.name + " LIMIT 100"));
|
||||
.on('click', () => codeEditor.setValue("SELECT * FROM " + table.name + " LIMIT 100"));
|
||||
}
|
||||
}
|
||||
|
||||
utils.bindElShortcut($query, 'ctrl+return', execute);
|
||||
|
||||
$executeButton.click(execute);
|
||||
$executeButton.on('click', execute);
|
||||
|
||||
Reference in New Issue
Block a user