File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 466
466
467
467
var anchor = $ ( this ) ;
468
468
var wizard = anchor . parents ( ".wizard" ) ;
469
- switch ( anchor . attr ( "href" ) )
469
+ switch ( anchor . attr ( "href" ) . substring ( anchor . attr ( "href" ) . lastIndexOf ( "#" ) ) )
470
470
{
471
471
case "#finish" :
472
472
wizard . steps ( "finish" ) ;
775
775
776
776
if ( options . enablePagination )
777
777
{
778
- var finish = $ ( ".actions a[href='#finish']" , wizard ) . parent ( ) ;
779
- var next = $ ( ".actions a[href='#next']" , wizard ) . parent ( ) ;
778
+ var finish = $ ( ".actions a[href$ ='#finish']" , wizard ) . parent ( ) ;
779
+ var next = $ ( ".actions a[href$ ='#next']" , wizard ) . parent ( ) ;
780
780
781
781
if ( ! options . forceMoveForward )
782
782
{
783
- var previous = $ ( ".actions a[href='#previous']" , wizard ) . parent ( ) ;
783
+ var previous = $ ( ".actions a[href$ ='#previous']" , wizard ) . parent ( ) ;
784
784
if ( state . currentIndex > 0 )
785
785
{
786
786
previous . removeClass ( "disabled" ) ;
You can’t perform that action at this time.
0 commit comments