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