Open orige-zz opened 9 years ago
I fixed this issue and this is work for me. Maybe you check? I added below code to $modal .on('show.bs.modal', function(){
last line before closing }
My code is:
var steps = $modal.find('div[data-step]').length;
if (parseInt(steps) === 1){
$btnNext
.attr('data-step', 'complete')
.html(settings.btnLastStepHtml);
} else {
$btnNext
.attr('data-step', nextStep)
.html(settings.btnNextHtml);
}
See the bug on
modal-sample-3
demo.