diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..7f77ed7
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,3 @@
+.DS_Store
+bower_components/
+
diff --git a/demo.html b/demo.html
index 9093cfc..db9c49b 100644
--- a/demo.html
+++ b/demo.html
@@ -130,6 +130,7 @@
Settings
+ autoFocus | false | Determines if the first suggestion is selected selected and highlighted. |
|
Callbacks | |
diff --git a/jquery.auto-complete.js b/jquery.auto-complete.js
index c7e7072..6a6c8e5 100644
--- a/jquery.auto-complete.js
+++ b/jquery.auto-complete.js
@@ -96,7 +96,13 @@
that.cache[val] = data;
if (data.length && val.length >= o.minChars) {
var s = '';
- for (var i=0;i=o.minChars){for(var a="",c=0;c