We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ee03468 + bb85358 commit 671c9c2Copy full SHA for 671c9c2
dist/autocomplete.js
@@ -178,7 +178,8 @@ var AutoComplete = (function () {
178
}
179
},
180
HttpHeaders: {
181
- "Content-type": "application/x-www-form-urlencoded"
+ "Content-type": "application/x-www-form-urlencoded",
182
+ "X-Requested-With": "XMLHttpRequest"
183
184
Limit: 0,
185
MinChars: 0,
@@ -196,6 +197,7 @@ var AutoComplete = (function () {
196
197
var liActive = this.DOMResults.querySelector("li.active");
198
if (liActive !== null) {
199
event.preventDefault();
200
+
201
this._Select(liActive);
202
this.DOMResults.setAttribute("class", "autocomplete");
203
@@ -539,4 +541,4 @@ var AutoComplete = (function () {
539
541
module.exports = AutoComplete;
540
542
543
},{}]},{},[1])(1)
-});
544
+});
0 commit comments