fix #18
This commit is contained in:
parent
777f454efe
commit
165ab30edd
4 changed files with 10 additions and 12 deletions
|
@ -234,8 +234,6 @@
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
$('form.idealforms').find('input, select, textarea').on('change keyup', function() {
|
$('form.idealforms').find('input, select, textarea').on('change keyup', function() {
|
||||||
$('#invalid').hide();
|
$('#invalid').hide();
|
||||||
});
|
});
|
||||||
|
|
|
@ -104,10 +104,10 @@ module.exports = {
|
||||||
|
|
||||||
// @extend
|
// @extend
|
||||||
addFields: function(field) {
|
addFields: function(field) {
|
||||||
field.after = this.$stepsContainer
|
var $steps = this.$stepsContainer.find(this.opts.steps.step);
|
||||||
.find(this.opts.steps.step)
|
field.after = $steps
|
||||||
.eq(field.appendToStep)
|
.eq(field.appendToStep || $steps.length-1)
|
||||||
.find('input, textarea, select')
|
.find('input, select, textarea')
|
||||||
.last()[0].name;
|
.last()[0].name;
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
File diff suppressed because one or more lines are too long
2
js/out/jquery.idealforms.min.js
vendored
2
js/out/jquery.idealforms.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue