Show More
@@ -125,7 +125,7 b' var IPython = (function (IPython) {' | |||||
125 | IPython.notebook.to_heading(undefined, 6); |
|
125 | IPython.notebook.to_heading(undefined, 6); | |
126 | }; |
|
126 | }; | |
127 | }); |
|
127 | }); | |
128 | $([IPython.events]).on('selected_cell_type_changed', function (event, data) { |
|
128 | $([IPython.events]).on('selected_cell_type_changed.Notebook', function (event, data) { | |
129 | if (data.cell_type === 'heading') { |
|
129 | if (data.cell_type === 'heading') { | |
130 | that.element.find('#cell_type').val(data.cell_type+data.level); |
|
130 | that.element.find('#cell_type').val(data.cell_type+data.level); | |
131 | } else { |
|
131 | } else { |
General Comments 0
You need to be logged in to leave comments.
Login now