Skip to content

Commit

Permalink
Update packages/notebook/src/actions.tsx
Browse files Browse the repository at this point in the history
Good catch

Co-Authored-By: Vidar Tonaas Fauske <vidartf@gmail.com>
  • Loading branch information
mlucool and vidartf committed Nov 27, 2019
1 parent 25bb8e7 commit 14960d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/notebook/src/actions.tsx
Expand Up @@ -1320,7 +1320,7 @@ export namespace NotebookActions {
}
}
});
if (latestCellIdx) {
if (latestCellIdx !== null) {
notebook.activeCellIndex = latestCellIdx;
}
}
Expand Down

0 comments on commit 14960d9

Please sign in to comment.