Skip to content

Commit 19fcfd4

Browse files
committed
Revert broken change to setup
1 parent 7b07983 commit 19fcfd4

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

resources/assets/js/cachet.js

+16
Original file line numberDiff line numberDiff line change
@@ -310,6 +310,22 @@
310310
sparkLine();
311311
}
312312

313+
function goToStep(current, next) {
314+
// validation was ok. We can go on next step.
315+
$('.block-' + current)
316+
.removeClass('show')
317+
.addClass('hidden');
318+
319+
$('.block-' + next)
320+
.removeClass('hidden')
321+
.addClass('show');
322+
323+
$('.steps .step')
324+
.removeClass("active")
325+
.filter(":lt(" + (next) + ")")
326+
.addClass("active");
327+
}
328+
313329
// Check for updates.
314330
if ($('#update-alert').length > 0) {
315331
$.ajax({

0 commit comments

Comments
 (0)