Revert broken change to setup

This commit is contained in:
James Brooks
2023-11-08 08:29:07 +11:00
parent 7b07983d54
commit 19fcfd4420

View File

@@ -310,6 +310,22 @@
sparkLine();
}
function goToStep(current, next) {
// validation was ok. We can go on next step.
$('.block-' + current)
.removeClass('show')
.addClass('hidden');
$('.block-' + next)
.removeClass('hidden')
.addClass('show');
$('.steps .step')
.removeClass("active")
.filter(":lt(" + (next) + ")")
.addClass("active");
}
// Check for updates.
if ($('#update-alert').length > 0) {
$.ajax({