mirror of
https://github.com/jupyter/notebook.git
synced 2025-03-19 13:20:36 +08:00
Merge pull request #7033 from Carreau/fcell
get cell correctly in nested context
This commit is contained in:
commit
9067245c0b
@ -379,7 +379,7 @@ define([
|
||||
* @return {jQuery} A selector of all cell elements
|
||||
*/
|
||||
Notebook.prototype.get_cell_elements = function () {
|
||||
return this.container.children("div.cell");
|
||||
return this.container.find(".cell").not('.cell .cell');
|
||||
};
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user