Skip to content

Commit

Permalink
Merge pull request ipython#1387 from ellisonbg/celltype-update
Browse files Browse the repository at this point in the history
Fix issue where toolbar cell type drop list would not correctly update with cell types.
  • Loading branch information
fperez committed Feb 8, 2012
2 parents 371b4a5 + e2ad2fa commit d4bc4d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion IPython/frontend/html/notebook/static/js/toolbar.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit d4bc4d3

Please sign in to comment.