Skip to content

Commit 6b0861e

Browse files
[BUMP] 2.6.1
1 parent 61159b8 commit 6b0861e

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

dist/autocomplete.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
/*
33
* @license MIT
44
*
5-
* Autocomplete.js v2.6.0
5+
* Autocomplete.js v2.6.1
66
* Developed by Baptiste Donaux
77
* http://autocomplete-js.com
88
*
@@ -116,7 +116,7 @@ var AutoComplete = (function () {
116116
}
117117
};
118118
AutoComplete.prototype.makeRequest = function (params, callback) {
119-
var propertyHttpHeaders = Object.getOwnPropertyNames(params.HttpHeaders), request = new XMLHttpRequest(), method = params._HttpMethod(), url = params._Url(), queryParams = params._Pre(), queryParamsStringify = params._QueryArg() + "=" + queryParams;
119+
var propertyHttpHeaders = Object.getOwnPropertyNames(params.HttpHeaders), request = new XMLHttpRequest(), method = params._HttpMethod(), url = params._Url(), queryParams = params._Pre(), queryParamsStringify = encodeURIComponent(params._QueryArg()) + "=" + encodeURIComponent(queryParams);
120120
if (method.match(/^GET$/i)) {
121121
if (url.indexOf("?") !== -1) {
122122
url += "&" + queryParamsStringify;

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.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "autocomplete-js",
3-
"version": "2.6.0",
3+
"version": "2.6.1",
44
"author": "support@autocomplete-js.com",
55
"license": "MIT",
66
"description": "autocomplete.js is a fast and lightweight autocomplete library, without any dependencies.",

src/autocomplete.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* @license MIT
33
*
4-
* Autocomplete.js v2.6.0
4+
* Autocomplete.js v2.6.1
55
* Developed by Baptiste Donaux
66
* http://autocomplete-js.com
77
*

0 commit comments

Comments
 (0)