make execute button in menu bar match shift-enter

Noticed this when testing the UI on the IPad.
I expected the button to perform the default execute behavior,
but it doesn't.
This commit is contained in:
MinRK 2014-02-07 13:29:15 -08:00
parent 2b248d65b0
commit 24ef1be736

View File

@ -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',