Skip to content

Commit

Permalink
Add some missing menu item/action pairs
Browse files Browse the repository at this point in the history
  • Loading branch information
gnestor authored and Nelyus committed Jun 10, 2020
1 parent c9dcf95 commit 4ad6009
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions notebook/static/notebook/js/menubar.js
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,9 @@ define([
'#int_kernel': 'interrupt-kernel',
'#cut_cell': 'cut-cell',
'#copy_cell': 'copy-cell',
'#paste_cell_above': 'paste-cell-above',
'#paste_cell_below': 'paste-cell-below',
'#paste_cell_replace': 'paste-cell-replace',
'#delete_cell': 'delete-cell',
'#undelete_cell': 'undo-cell-deletion',
'#split_cell': 'split-cell-at-cursor',
Expand Down Expand Up @@ -266,6 +269,7 @@ define([
'#copy_cell_attachments': 'copy-cell-attachments',
'#paste_cell_attachments': 'paste-cell-attachments',
'#insert_image': 'insert-image',
'#keyboard_shortcuts' : 'show-keyboard-shortcuts',
'#edit_keyboard_shortcuts' : 'edit-command-mode-keyboard-shortcuts',
};

Expand Down Expand Up @@ -311,9 +315,6 @@ define([
} else {
this.element.find('#notebook_tour').addClass("disabled");
}
this.element.find('#keyboard_shortcuts').click(function () {
that.quick_help.show_keyboard_shortcuts();
});

this.update_restore_checkpoint(null);

Expand Down

0 comments on commit 4ad6009

Please sign in to comment.