mirror of
https://github.com/jupyter/notebook.git
synced 2024-12-27 04:20:22 +08:00
Add kernel restart button to toolbar.
This commit is contained in:
parent
953da90a98
commit
5786602300
@ -110,6 +110,14 @@ var IPython = (function (IPython) {
|
||||
callback : function () {
|
||||
IPython.notebook.session.interrupt_kernel();
|
||||
}
|
||||
},
|
||||
{
|
||||
id : 'repeat_b',
|
||||
label : 'Restart Kernel',
|
||||
icon : 'icon-repeat',
|
||||
callback : function () {
|
||||
IPython.notebook.restart_kernel();
|
||||
}
|
||||
}
|
||||
],'run_int');
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user