##// END OF EJS Templates
Don't allow edit mode up arrow to continue past index == 0
Jonathan Frederic -
Show More
@@ -162,8 +162,9 var IPython = (function (IPython) {
162 162 help : '',
163 163 help_index : '',
164 164 handler : function (event) {
165 var index = IPython.notebook.get_selected_index();
165 166 var cell = IPython.notebook.get_selected_cell();
166 if (cell && cell.at_top()) {
167 if (index !== 0 && cell && cell.at_top()) {
167 168 event.preventDefault();
168 169 IPython.notebook.command_mode();
169 170 IPython.notebook.select_prev();
General Comments 0
You need to be logged in to leave comments. Login now