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 d7b487c + 005b613 commit 5f00f63Copy full SHA for 5f00f63
src/jquery.autocomplete.js
@@ -86,7 +86,7 @@
86
},
87
paramName: 'query',
88
transformResult: function (response) {
89
- return typeof response === 'string' ? $.parseJSON(response) : response;
+ return typeof response === 'string' ? JSON.parse(response) : response;
90
91
showNoSuggestionNotice: false,
92
noSuggestionNotice: 'No results',
0 commit comments