diff --git a/IPython/html/static/notebook/js/actions.js b/IPython/html/static/notebook/js/actions.js index 7fcd6b4b2..be3d768cc 100644 --- a/IPython/html/static/notebook/js/actions.js +++ b/IPython/html/static/notebook/js/actions.js @@ -374,7 +374,8 @@ define(function(require){ if(event){ event.preventDefault(); } - return env.notebook.scroll_to_bottom(); + var cell = env.notebook.get_selected_index(); + return env.notebook.scroll_to_cell(cell); } }, 'save-notebook':{