Show More
@@ -121,9 +121,9 b' casper.notebook_test(function () {' | |||||
121 | var cell = this._get_cell(i); |
|
121 | var cell = this._get_cell(i); | |
122 | if (cell) { |
|
122 | if (cell) { | |
123 | if (cell.mode == 'edit') { |
|
123 | if (cell.mode == 'edit') { | |
124 |
return this. |
|
124 | return this.is_cell_editor_focused(i); | |
125 | } else { |
|
125 | } else { | |
126 |
return !this. |
|
126 | return !this.is_cell_editor_focused(i); | |
127 | } |
|
127 | } | |
128 | } |
|
128 | } | |
129 | return true; |
|
129 | return true; | |
@@ -161,7 +161,7 b' casper.notebook_test(function () {' | |||||
161 | }, {k: key}); |
|
161 | }, {k: key}); | |
162 | }; |
|
162 | }; | |
163 |
|
163 | |||
164 |
this. |
|
164 | this.is_cell_editor_focused = function(i) { | |
165 | return this._is_cell_inputfield(i, '.CodeMirror-focused *'); |
|
165 | return this._is_cell_inputfield(i, '.CodeMirror-focused *'); | |
166 | }; |
|
166 | }; | |
167 |
|
167 |
General Comments 0
You need to be logged in to leave comments.
Login now