esc collapse pager

pull/37/head
Matthias BUSSONNIER 14 years ago
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…
Cancel
Save