wrong index check.

This commit is contained in:
rebornix
2021-10-26 15:14:39 -07:00
parent a3219878eb
commit 912ccead65
@@ -63,7 +63,7 @@ registerAction2(class extends NotebookCellAction {
return;
}
if (idx >= editor.getLength()) {
if (idx >= editor.getLength() - 1) {
// last one
return;
}