mirror of
https://github.com/jupyter/notebook.git
synced 2025-01-06 11:35:24 +08:00
Fixing Cell menu to update cell type select box.
This commit is contained in:
parent
cd0810ee25
commit
6c9a7d0d41
@ -125,7 +125,7 @@ var IPython = (function (IPython) {
|
||||
IPython.notebook.to_heading(undefined, 6);
|
||||
};
|
||||
});
|
||||
$([IPython.events]).on('selected_cell_type_changed', function (event, data) {
|
||||
$([IPython.events]).on('selected_cell_type_changed.Notebook', function (event, data) {
|
||||
if (data.cell_type === 'heading') {
|
||||
that.element.find('#cell_type').val(data.cell_type+data.level);
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user