diff --git a/dashboard/js/onboard.js b/dashboard/js/onboard.js index c073519..e775570 100644 --- a/dashboard/js/onboard.js +++ b/dashboard/js/onboard.js @@ -1215,8 +1215,13 @@ '
' + '
' + '

Spaxel Setup

' + + '
' + + '' + '' + '
' + + '
' + '
' + '
' + '
' + @@ -1226,6 +1231,11 @@ state.container = overlay; document.getElementById('wizard-close-btn').addEventListener('click', closeWizard); + document.getElementById('wizard-restart-btn').addEventListener('click', function () { + clearState(); + if (activeCleanup) { activeCleanup.cleanup(); activeCleanup = null; } + goToStep(0); + }); overlay.addEventListener('click', function (e) { if (e.target === overlay) closeWizard(); });