Skip to content

Commit dab7f29

Browse files
author
Zach Shepherd
committed
Mask: fix focus-related test bug which causes false-negatives in Chrome
1 parent 2a03859 commit dab7f29

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/unit/mask/mask_core.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ test( "_caret() can move and read the text cursor", 4, function() {
1919
}),
2020
instance = input.data( "mask" );
2121

22-
focus( input );
22+
input.focus();
2323
instance._caret( 0 );
2424
deepEqual( instance._caret(), {
2525
begin: 0,

0 commit comments

Comments
 (0)