8000 destroying input event too · kapsiR/jQuery-Mask-Plugin@3edecfe · GitHub
[go: up one dir, main page]

Skip to content

Commit 3edecfe

Browse files
author
Igor Escobar
committed
destroying input event too
1 parent 72afe81 commit 3edecfe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/jquery.mask.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@
167167
return new RegExp(r);
168168
},
169169
destroyEvents: function() {
170-
el.off(['keydown', 'keyup', 'paste', 'drop', 'blur', 'focusout', ''].join('.mask '));
170+
el.off(['input', 'keydown', 'keyup', 'paste', 'drop', 'blur', 'focusout', ''].join('.mask '));
171171
},
172172
val: function(v) {
173173
var isInput = el.is('input'),

0 commit comments

Comments
 (0)
0