mirror of
https://github.com/devbridge/jQuery-Autocomplete.git
synced 2024-11-21 20:35:17 +00:00
Merge pull request #536 from alexandrekop/develop
Replaced $.parseJSON() with JSON.parse()
This commit is contained in:
commit
5f00f638f0
@ -86,7 +86,7 @@
|
||||
},
|
||||
paramName: 'query',
|
||||
transformResult: function (response) {
|
||||
return typeof response === 'string' ? $.parseJSON(response) : response;
|
||||
return typeof response === 'string' ? JSON.parse(response) : response;
|
||||
},
|
||||
showNoSuggestionNotice: false,
|
||||
noSuggestionNotice: 'No results',
|
||||
|
Loading…
Reference in New Issue
Block a user