Skip to content

Commit 9d62c01

Browse files
author
jaquer
committed
Fix for hardcoded prev/next BtnClass. Closes #4
1 parent 89ba9d4 commit 9d62c01

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

jquery.formtowizard.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,10 +114,10 @@
114114
}
115115
},
116116
NextStep: function() {
117-
$( '.stepDetails:visible' ).find( 'a.next' ).click();
117+
$( '.stepDetails:visible' ).find( options.nextBtnClass ).click();
118118
},
119119
PreviousStep: function() {
120-
$( '.stepDetails:visible' ).find( 'a.prev' ).click();
120+
$( '.stepDetails:visible' ).find( options.prevBtnClass ).click();
121121
}
122122
};
123123
}

0 commit comments

Comments
 (0)