Show More
@@ -118,7 +118,7 var IPython = (function (IPython) { | |||
|
118 | 118 | // Execute code cell, and insert new in place |
|
119 | 119 | that.execute_selected_cell(); |
|
120 | 120 | // Only insert a new cell, if we ended up in an already populated cell |
|
121 |
if (that.get_selected_cell().toJSON().input |
|
|
121 | if (/\S/.test(that.get_selected_cell().toJSON().input) == true) { | |
|
122 | 122 | that.insert_cell_above('code'); |
|
123 | 123 | } |
|
124 | 124 | return false; |
General Comments 0
You need to be logged in to leave comments.
Login now