Skip to content

Commit

Permalink
Revert broken change to setup
Browse files Browse the repository at this point in the history
  • Loading branch information
jbrooksuk committed Nov 7, 2023
1 parent 7b07983 commit 19fcfd4
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions resources/assets/js/cachet.js
Original file line number Diff line number Diff line change
Expand Up @@ -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({
Expand Down

0 comments on commit 19fcfd4

Please sign in to comment.