mirror of
https://github.com/devbridge/jQuery-Autocomplete.git
synced 2024-11-22 04:45:12 +00:00
- Replaced $.parseJSON with JSON.parse(), following jQuery 3.0 upgrade guide (https://jquery.com/upgrade-guide/3.0/#deprecated-jquery-parsejson)
This commit is contained in:
parent
d7b487cc73
commit
005b6135bf
@ -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