mirror of
https://github.com/jupyter/notebook.git
synced 2025-01-24 12:05:22 +08:00
s/_is_cell_editor_focused/is_cell_editor_focused
This commit is contained in:
parent
45bbcc949e
commit
6a834223da
@ -121,9 +121,9 @@ casper.notebook_test(function () {
|
||||
var cell = this._get_cell(i);
|
||||
if (cell) {
|
||||
if (cell.mode == 'edit') {
|
||||
return this._is_cell_editor_focused(i);
|
||||
return this.is_cell_editor_focused(i);
|
||||
} else {
|
||||
return !this._is_cell_editor_focused(i);
|
||||
return !this.is_cell_editor_focused(i);
|
||||
}
|
||||
}
|
||||
return true;
|
||||
@ -161,7 +161,7 @@ casper.notebook_test(function () {
|
||||
}, {k: key});
|
||||
};
|
||||
|
||||
this._is_cell_editor_focused = function(i) {
|
||||
this.is_cell_editor_focused = function(i) {
|
||||
return this._is_cell_inputfield(i, '.CodeMirror-focused *');
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user