diff --git a/src/core/js/tour.js b/src/core/js/tour.js index b72087f90f365669c5bd430bc59b3b975c556723..5eebd0d543797ef253cd8490c6125e64f78ff37d 100644 --- a/src/core/js/tour.js +++ b/src/core/js/tour.js @@ -686,6 +686,10 @@ var tour = new function () { if (! target[0]) { return; // element to attach to not available; can't open } + if (this.get_next()) { + logger.debug(`Set next page in session store to `, this.get_next().config.id); + sessionStorage["tour-page-open-next"] = this.get_next().config.id + } target.on('hidden.bs.popover', (e) => { button[0].dispatchEvent(tour.close_page_event); });