mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-01-31 20:19:05 +08:00
Reload page after exit from tutorial [SCI-703]
This commit is contained in:
parent
c5bc3a4dc6
commit
cc86ff268f
1 changed files with 12 additions and 0 deletions
|
@ -107,6 +107,12 @@ function initPageTutorialSteps(pageFirstStepN, pageLastStepN, nextPagePath,
|
|||
disableInteraction: true,
|
||||
tooltipClass: 'custom next-page-link'
|
||||
})
|
||||
.onexit(function() {
|
||||
location.reload();
|
||||
})
|
||||
.oncomplete(function() {
|
||||
location.reload();
|
||||
})
|
||||
.goToStep(stepNum - (pageFirstStepN - 1))
|
||||
.start();
|
||||
} else {
|
||||
|
@ -130,6 +136,12 @@ function initPageTutorialSteps(pageFirstStepN, pageLastStepN, nextPagePath,
|
|||
tooltipClass: 'custom next-page-link',
|
||||
steps: steps
|
||||
})
|
||||
.onexit(function() {
|
||||
location.reload();
|
||||
})
|
||||
.oncomplete(function() {
|
||||
location.reload();
|
||||
})
|
||||
.goToStep(stepNum - (pageFirstStepN - 1))
|
||||
.start();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue