Show More
@@ -123,7 +123,12 b' Notebook.prototype.bind_events = function () {' | |||||
123 | if (cell_index === (that.ncells()-1)) { |
|
123 | if (cell_index === (that.ncells()-1)) { | |
124 | that.insert_code_cell_after(); |
|
124 | that.insert_code_cell_after(); | |
125 | } else { |
|
125 | } else { | |
126 | that.select(cell_index+1); |
|
126 | // Select the next cell if it is a CodeCell, but not | |
|
127 | // if it is a TextCell. | |||
|
128 | var next_cell = that.cells()[cell_index+1]; | |||
|
129 | if (!(next_cell instanceof TextCell)) { | |||
|
130 | that.select(cell_index+1); | |||
|
131 | }; | |||
127 | }; |
|
132 | }; | |
128 | } |
|
133 | } | |
129 | } else if (event.which == 9) { |
|
134 | } else if (event.which == 9) { |
General Comments 0
You need to be logged in to leave comments.
Login now