mirror of
https://github.com/zadam/trilium.git
synced 2025-10-27 16:26:31 +01:00
moved dialog entrypoints into bootstrap, fixes
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
import noteDetailService from '../services/note_detail.js';
|
||||
|
||||
const $showDialogButton = $("#show-source-button");
|
||||
const $dialog = $("#note-source-dialog");
|
||||
const $noteSource = $("#note-source");
|
||||
|
||||
@@ -45,14 +44,6 @@ function formatNode(node, level) {
|
||||
return node;
|
||||
}
|
||||
|
||||
$(document).bind('keydown', 'ctrl+u', e => {
|
||||
showDialog();
|
||||
|
||||
e.preventDefault();
|
||||
});
|
||||
|
||||
$showDialogButton.click(showDialog);
|
||||
|
||||
export default {
|
||||
showDialog
|
||||
};
|
||||
Reference in New Issue
Block a user