mirror of
https://github.com/devbridge/jQuery-Autocomplete.git
synced 2024-11-22 12:55:12 +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',
|
paramName: 'query',
|
||||||
transformResult: function (response) {
|
transformResult: function (response) {
|
||||||
return typeof response === 'string' ? $.parseJSON(response) : response;
|
return typeof response === 'string' ? JSON.parse(response) : response;
|
||||||
},
|
},
|
||||||
showNoSuggestionNotice: false,
|
showNoSuggestionNotice: false,
|
||||||
noSuggestionNotice: 'No results',
|
noSuggestionNotice: 'No results',
|
||||||
|
Loading…
Reference in New Issue
Block a user