mirror of
https://github.com/jupyter/notebook.git
synced 2025-01-12 11:45:38 +08:00
Merge pull request #5061 from minrk/execute-button
make execute button in menu bar match shift-enter
This commit is contained in:
commit
9b21f618e6
@ -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