Show More
@@ -663,10 +663,9 b' define(function (require) {' | |||||
663 | Notebook.prototype.command_mode = function () { |
|
663 | Notebook.prototype.command_mode = function () { | |
664 | var cell = this.get_cell(this.get_edit_index()); |
|
664 | var cell = this.get_cell(this.get_edit_index()); | |
665 | if (cell && this.mode !== 'command') { |
|
665 | if (cell && this.mode !== 'command') { | |
666 |
// We don't call cell.command_mode, but rather |
|
666 | // We don't call cell.command_mode, but rather blur the CM editor | |
667 |
// which will |
|
667 | // which will trigger the call to handle_command_mode. | |
668 | // handle_command_mode. |
|
668 | cell.code_mirror.getInputField().blur(); | |
669 | cell.focus_cell(); |
|
|||
670 | } |
|
669 | } | |
671 | }; |
|
670 | }; | |
672 |
|
671 |
General Comments 0
You need to be logged in to leave comments.
Login now