Skip to content

Commit b5e6786

Browse files
committed
Autocomplete: changed autoFocus default back to false. Reverts #7042 - Autocomplete: Default autoFocus to true
1 parent 6fc98de commit b5e6786

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/unit/autocomplete/autocomplete_defaults.js

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

55
var autocomplete_defaults = {
66
appendTo: "body",
7-
autoFocus: true,
7+
autoFocus: false,
88
delay: 300,
99
disabled: false,
1010
minLength: 1,

ui/jquery.ui.autocomplete.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ $.widget( "ui.autocomplete", {
2222
defaultElement: "<input>",
2323
options: {
2424
appendTo: "body",
25-
autoFocus: true,
25+
autoFocus: false,
2626
delay: 300,
2727
minLength: 1,
2828
position: {

0 commit comments

Comments
 (0)