Skip to content

Commit

Permalink
[build] 1.0.9
Browse files Browse the repository at this point in the history
  • Loading branch information
niceue committed Dec 26, 2016
1 parent df1691b commit 71b7c3d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions dist/jquery.validator.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! nice-validator 1.0.8
/*! nice-validator 1.0.9
* (c) 2012-2016 Jony Zhang <niceue@live.com>, MIT Licensed
* https://github.com/niceue/nice-validator
*/
Expand Down Expand Up @@ -666,7 +666,7 @@
// For checkbox and radio
elem = el.name && _checkable(el) ? me.$el.find('input[name="'+ el.name +'"]').get(0) : el;
// Get field
if (!(field = me.getField(elem))) {
if (!(field = me.getField(elem)) || !field.rule) {
return;
}
// Cache event type
Expand All @@ -692,8 +692,8 @@
return;
}
if ( timely === 2 || timely === 8 ) {
if (value) {
old = field.old;
old = field.old;
if (value && old) {
if (field.isValid && !old.showOk) {
me.hideMsg(el);
} else {
Expand Down
Loading

0 comments on commit 71b7c3d

Please sign in to comment.