Skip to content

Commit eab2083

Browse files
[BUMP] 2.6.2 -- build part
1 parent de053e3 commit eab2083

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

dist/autocomplete.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
/*
33
* @license MIT
44
*
5-
* Autocomplete.js v2.6.1
5+
* Autocomplete.js v2.6.2
66
* Developed by Baptiste Donaux
77
* http://autocomplete-js.com
88
*
@@ -205,8 +205,9 @@ AutoComplete.defaults = {
205205
Is: 13,
206206
Not: false
207207
}],
208-
Callback: function () {
208+
Callback: function (event) {
209209
if (this.DOMResults.getAttribute("class").indexOf("open") != -1) {
210+
event.preventDefault();
210211
var liActive = this.DOMResults.querySelector("li.active");
211212
if (liActive !== null) {
212213
this._Select(liActive);
@@ -215,7 +216,7 @@ AutoComplete.defaults = {
215216
}
216217
},
217218
Operator: ConditionOperator.AND,
218-
Event: EventType.KEYUP
219+
Event: EventType.KEYDOWN
219220
},
220221
"KeyUpAndDown_down": {
221222
Conditions: [{

dist/autocomplete.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)