mirror of
https://github.com/jupyter/notebook.git
synced 2025-01-30 12:11:32 +08:00
changed ESC to trigger collapsing of the pager in notebook
This commit is contained in:
parent
aafec25d34
commit
13b2cadd8b
@ -130,6 +130,7 @@ var IPython = (function (IPython) {
|
||||
} else if (event.which === key.ESC) {
|
||||
// Intercept escape at highest level to avoid closing
|
||||
// websocket connection with firefox
|
||||
that.element.trigger('collapse_pager');
|
||||
event.preventDefault();
|
||||
} else if (event.which === key.SHIFT) {
|
||||
// ignore shift keydown
|
||||
|
Loading…
Reference in New Issue
Block a user