diff --git a/src/public/javascripts/services/tree.js b/src/public/javascripts/services/tree.js index 58a4c859b..c37c3b037 100644 --- a/src/public/javascripts/services/tree.js +++ b/src/public/javascripts/services/tree.js @@ -586,12 +586,6 @@ window.glob.createNoteInto = createNoteInto; utils.bindShortcut('ctrl+p', createNoteInto); -utils.bindShortcut('ctrl+del', () => { - const node = getCurrentNode(); - - treeChangesService.deleteNodes([node]); -}); - utils.bindShortcut('ctrl+.', scrollToCurrentNote); $(window).bind('hashchange', function() { diff --git a/src/public/javascripts/services/tree_context_menu.js b/src/public/javascripts/services/tree_context_menu.js index 2a3b24312..d2e5ef752 100644 --- a/src/public/javascripts/services/tree_context_menu.js +++ b/src/public/javascripts/services/tree_context_menu.js @@ -82,7 +82,7 @@ const contextMenuOptions = { menu: [ {title: "Insert note here Ctrl+O", cmd: "insertNoteHere", uiIcon: "ui-icon-plus"}, {title: "Insert child note Ctrl+P", cmd: "insertChildNote", uiIcon: "ui-icon-plus"}, - {title: "Delete Ctrl+Del", cmd: "delete", uiIcon: "ui-icon-trash"}, + {title: "Delete", cmd: "delete", uiIcon: "ui-icon-trash"}, {title: "----"}, {title: "Edit branch prefix F2", cmd: "editBranchPrefix", uiIcon: "ui-icon-pencil"}, {title: "----"},