Skip to content

Commit 62545a3

Browse files
chackleytsrivishnu
authored andcommitted
Set finish button type to 'button' so that it doesn't cause a form submit.
1 parent 97b53d8 commit 62545a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bootstro.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ $(document).ready(function(){
2323
var defaults = {
2424
nextButton : '<button class="btn btn-primary btn-mini bootstro-next-btn">Next &raquo;</button>',
2525
prevButton : '<button class="btn btn-primary btn-mini bootstro-prev-btn">&laquo; Prev</button>',
26-
finishButton : '<button class="btn btn-mini btn-success bootstro-finish-btn"><i class="icon-ok"></i> Ok I got it, get back to the site</button>',
26+
finishButton : '<button class="btn btn-mini btn-success bootstro-finish-btn" type="button"><i class="icon-ok"></i> Ok I got it, get back to the site</button>',
2727
stopOnBackdropClick : true,
2828
stopOnEsc : true
2929
};

0 commit comments

Comments
 (0)