mirror of
https://github.com/jupyter/notebook.git
synced 2024-12-21 04:10:17 +08:00
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:
parent
2b248d65b0
commit
24ef1be736
@ -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',
|
||||
|
Loading…
Reference in New Issue
Block a user