From b33d7bfac7e9cfd46dc0f29ad50bd863b3369451 Mon Sep 17 00:00:00 2001 From: Washington Botelho Date: Wed, 25 May 2011 14:16:27 -0300 Subject: [PATCH] When the stepy has only one step the next button is not applied. --- js/jquery.stepy.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/js/jquery.stepy.js b/js/jquery.stepy.js index 29004ba..c42cc01 100755 --- a/js/jquery.stepy.js +++ b/js/jquery.stepy.js @@ -83,7 +83,9 @@ $titles.append('
  • ' + title + '' + description + '
  • '); if (index == 0) { - createNextButton(index); + if (size > 1) { + createNextButton(index); + } } else { createBackButton(index); step.hide();