Merge pull request #1387 from ellisonbg/celltype-update

Fix issue where toolbar cell type drop list would not correctly update with cell types.
Fernando Perez 14 years ago
commit 1964ac4570

@ -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…
Cancel
Save