Skip to content

Commit 98801e6

Browse files
author
Dmitry Udavydchenkov
committed
fix e bug
1 parent bf43603 commit 98801e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/validator/validator.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -417,7 +417,7 @@
417417

418418
if (!els.length) { return true; }
419419
// fix ie bug, for input event
420-
if (e.type == 'input' && !els.eq(0).val() ) { return true; }
420+
if (e && e.type == 'input' && !els.eq(0).val() ) { return true; }
421421

422422
e = e || $.Event();
423423

0 commit comments

Comments
 (0)