Skip to content

Commit 2d5ed8e

Browse files
author
Zach Shepherd
committed
Mask: fix visual test to bind to blur as stated in the test's textual description
1 parent 9d768f6 commit 2d5ed8e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/visual/mask/mask.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
$(function() {
1414
$( "#mask1" ).mask({ mask: "99/99/9999" });
1515
$( "#mask2" ).mask({ mask: "(999) 999-9999" });
16-
$( "#mask3" ).mask({ mask: "(999) 999-9999" }).change(function(event) {
16+
$( "#mask3" ).mask({ mask: "(999) 999-9999" }).blur(function(event) {
1717
if (!$(event.target).mask("valid")) {
1818
$(event.target).val("")
1919
}

0 commit comments

Comments
 (0)