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() {
|
||||
$('#invalid').hide();
|
||||
});
|
||||
|
|
|
@ -104,10 +104,10 @@ module.exports = {
|
|||
|
||||
// @extend
|
||||
addFields: function(field) {
|
||||
field.after = this.$stepsContainer
|
||||
.find(this.opts.steps.step)
|
||||
.eq(field.appendToStep)
|
||||
.find('input, textarea, select')
|
||||
var $steps = this.$stepsContainer.find(this.opts.steps.step);
|
||||
field.after = $steps
|
||||
.eq(field.appendToStep || $steps.length-1)
|
||||
.find('input, select, textarea')
|
||||
.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