File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 466466
467467 var anchor = $ ( this ) ;
468468 var wizard = anchor . parents ( ".wizard" ) ;
469- switch ( anchor . attr ( "href" ) )
469+ switch ( anchor . attr ( "href" ) . substring ( anchor . attr ( "href" ) . lastIndexOf ( "#" ) ) )
470470 {
471471 case "#finish" :
472472 wizard . steps ( "finish" ) ;
775775
776776 if ( options . enablePagination )
777777 {
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 ( ) ;
780780
781781 if ( ! options . forceMoveForward )
782782 {
783- var previous = $ ( ".actions a[href='#previous']" , wizard ) . parent ( ) ;
783+ var previous = $ ( ".actions a[href$ ='#previous']" , wizard ) . parent ( ) ;
784784 if ( state . currentIndex > 0 )
785785 {
786786 previous . removeClass ( "disabled" ) ;
You can’t perform that action at this time.
0 commit comments