mirror of
https://github.com/zadam/trilium.git
synced 2025-10-28 08:46:43 +01:00
note actions now work again
This commit is contained in:
@@ -126,7 +126,9 @@ if (utils.isElectron()) {
|
||||
});
|
||||
}
|
||||
|
||||
$("#export-note-button").click(function () {
|
||||
const $noteTabContainer = $("#note-tab-container");
|
||||
|
||||
$noteTabContainer.on("click", ".export-note-button", function () {
|
||||
if ($(this).hasClass("disabled")) {
|
||||
return;
|
||||
}
|
||||
@@ -134,12 +136,12 @@ $("#export-note-button").click(function () {
|
||||
exportDialog.showDialog('single');
|
||||
});
|
||||
|
||||
$noteTabContainer.on("click", ".import-files-button", importDialog.showDialog);
|
||||
|
||||
$('[data-toggle="tooltip"]').tooltip({
|
||||
html: true
|
||||
});
|
||||
|
||||
$("#import-files-button").click(importDialog.showDialog);
|
||||
|
||||
macInit.init();
|
||||
|
||||
searchNotesService.init(); // should be in front of treeService since that one manipulates address bar hash
|
||||
|
||||
Reference in New Issue
Block a user