diff --git a/IPython/html/static/notebook/js/notebook.js b/IPython/html/static/notebook/js/notebook.js
index cc2d64842..05cb955c1 100644
--- a/IPython/html/static/notebook/js/notebook.js
+++ b/IPython/html/static/notebook/js/notebook.js
@@ -1511,6 +1511,7 @@ var IPython = (function (IPython) {
this.command_mode();
this.select(cell_index+1);
+ this.focus_cell();
this.set_dirty(true);
};