mirror of
https://github.com/jupyter/notebook.git
synced 2025-01-06 11:35:24 +08:00
esc collapse pager
This commit is contained in:
parent
976c433fe4
commit
785fbd9d9a
@ -76,6 +76,7 @@ var IPython = (function (IPython) {
|
||||
} else if (event.which === 27) {
|
||||
// Intercept escape at highest level to avoid closing
|
||||
// websocket connection with firefox
|
||||
IPython.pager.collapse();
|
||||
event.preventDefault();
|
||||
}
|
||||
if (event.which === 38 && !event.shiftKey) {
|
||||
|
Loading…
Reference in New Issue
Block a user