From 2fbe6f8cb788ef49815f81a4e9462484e70fa715 2013-05-06 23:12:08 From: Erik Tollerud Date: 2013-05-06 23:12:08 Subject: [PATCH] use alternate method to collapse pager from notebook.js as suggested by @Carreau --- diff --git a/IPython/frontend/html/notebook/static/js/notebook.js b/IPython/frontend/html/notebook/static/js/notebook.js index 252eb2a..64b751f 100644 --- a/IPython/frontend/html/notebook/static/js/notebook.js +++ b/IPython/frontend/html/notebook/static/js/notebook.js @@ -130,7 +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'); + IPython.pager.collapse(); event.preventDefault(); } else if (event.which === key.SHIFT) { // ignore shift keydown