We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5d2b2c2 commit f14b9e5Copy full SHA for f14b9e5
js/jupyterlab-slideshow/src/notebook/presenter.ts
@@ -411,7 +411,7 @@ export class NotebookPresenter implements IPresenter<NotebookPanel> {
411
panel.content.activeCellIndex = moveTo;
412
} else if (fromExtentAlternate != null) {
413
let moveTo = fromExtentAlternate;
414
- if (['back', 'forward'].includes(direction)) {
+ if (alternate && ['back', 'forward'].includes(alternate)) {
415
moveTo = this._slideBackup(extents, activeCellIndex, fromExtentAlternate);
416
}
417
0 commit comments