mirror of
https://github.com/jupyter/notebook.git
synced 2024-12-15 04:00:34 +08:00
Select cell after executing, not in loop
This commit is contained in:
parent
a885f9195c
commit
6f1694d6b3
@ -1992,10 +1992,11 @@ define(function (require) {
|
|||||||
|
|
||||||
var cell;
|
var cell;
|
||||||
for (var i = 0; i < indices.length; i++) {
|
for (var i = 0; i < indices.length; i++) {
|
||||||
this.select(indices[i]);
|
|
||||||
cell = this.get_cell(indices[i]);
|
cell = this.get_cell(indices[i]);
|
||||||
cell.execute();
|
cell.execute();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
this.select(indices[indices.length - 1]);
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user