diff options
author | Richard Worth <rdworth@gmail.com> | 2011-03-28 11:13:53 -0400 |
---|---|---|
committer | Richard Worth <rdworth@gmail.com> | 2011-03-28 11:13:53 -0400 |
commit | b5e67861bb552c39bb76b13382a052701e4649e5 (patch) | |
tree | 5e175d2538a56802fb82d32766de9260b3eb628a | |
parent | 6fc98deef03b91b0ea2ed51be2708bdd2c61d479 (diff) | |
download | jquery-ui-b5e67861bb552c39bb76b13382a052701e4649e5.tar.gz jquery-ui-b5e67861bb552c39bb76b13382a052701e4649e5.zip |
Autocomplete: changed autoFocus default back to false. Reverts #7042 - Autocomplete: Default autoFocus to true
-rw-r--r-- | tests/unit/autocomplete/autocomplete_defaults.js | 2 | ||||
-rw-r--r-- | ui/jquery.ui.autocomplete.js | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/unit/autocomplete/autocomplete_defaults.js b/tests/unit/autocomplete/autocomplete_defaults.js index e2196ea9e..dd5007089 100644 --- a/tests/unit/autocomplete/autocomplete_defaults.js +++ b/tests/unit/autocomplete/autocomplete_defaults.js @@ -4,7 +4,7 @@ var autocomplete_defaults = { appendTo: "body", - autoFocus: true, + autoFocus: false, delay: 300, disabled: false, minLength: 1, diff --git a/ui/jquery.ui.autocomplete.js b/ui/jquery.ui.autocomplete.js index ca06fff65..1685c0652 100644 --- a/ui/jquery.ui.autocomplete.js +++ b/ui/jquery.ui.autocomplete.js @@ -22,7 +22,7 @@ $.widget( "ui.autocomplete", { defaultElement: "<input>", options: { appendTo: "body", - autoFocus: true, + autoFocus: false, delay: 300, minLength: 1, position: { |