From aa3723f76ff18a4b145fed6b798a480bfe2fe31e 2014-02-08 18:03:24 From: Brian E. Granger Date: 2014-02-08 18:03:24 Subject: [PATCH] Merge pull request #5061 from minrk/execute-button make execute button in menu bar match shift-enter --- diff --git a/IPython/html/static/notebook/js/maintoolbar.js b/IPython/html/static/notebook/js/maintoolbar.js index ec00315..6db1956 100644 --- a/IPython/html/static/notebook/js/maintoolbar.js +++ b/IPython/html/static/notebook/js/maintoolbar.js @@ -100,8 +100,9 @@ var IPython = (function (IPython) { label : 'Run Cell', icon : 'icon-play', callback : function () { - IPython.notebook.execute_cell(); - } + // emulate default shift-enter behavior + IPython.notebook.execute_cell_and_select_below(); + } }, { id : 'interrupt_b',