Skip to content

Commit

Permalink
Merge pull request #2912 from gnestor/issue-2904
Browse files Browse the repository at this point in the history
Show edit shortcuts modal after shortcuts modal is hidden
  • Loading branch information
rgbkrk authored Oct 9, 2017
2 parents 0112703 + d537ef6 commit 5585fea
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions notebook/static/notebook/js/quickhelp.js
Original file line number Diff line number Diff line change
Expand Up @@ -286,8 +286,11 @@ define([
// close this dialog
$(that.shortcut_dialog).modal("toggle");
// and open the next one
that.keyboard_manager.actions.call(
'jupyter-notebook:edit-command-mode-keyboard-shortcuts');
$(that.shortcut_dialog).on('hidden.bs.modal', function (e) {
that.keyboard_manager.actions.call(
'jupyter-notebook:edit-command-mode-keyboard-shortcuts'
);
});
});
div.find('h4').append(edit_button);
return div;
Expand Down

0 comments on commit 5585fea

Please sign in to comment.