From 35bce22c17a1a5768700b03f6864ec40f7faabb9 Mon Sep 17 00:00:00 2001 From: Alexander Belopolsky Date: Mon, 16 Mar 2015 14:22:04 -0400 Subject: [PATCH] Changed ctrl-l action to scroll to current cell. --- IPython/html/static/notebook/js/actions.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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':{