diff --git a/notebook/static/notebook/js/notebook.js b/notebook/static/notebook/js/notebook.js index 71f88273b..259088cc7 100644 --- a/notebook/static/notebook/js/notebook.js +++ b/notebook/static/notebook/js/notebook.js @@ -728,6 +728,7 @@ define(function (require) { var selectedIndex = Math.min(Math.max(this.get_selected_index() + offset, 0), this.ncells()-1); this.select(selectedIndex); this.get_selected_cell().marked = true; + this.ensure_focused(); };