mirror of
https://github.com/devbridge/jQuery-Autocomplete.git
synced 2024-11-22 12:55:12 +00:00
Use deep copy when cloning settings. Fixes #723
This commit is contained in:
parent
52e4899f55
commit
f6eef033a4
@ -70,7 +70,7 @@
|
|||||||
that.isLocal = false;
|
that.isLocal = false;
|
||||||
that.suggestionsContainer = null;
|
that.suggestionsContainer = null;
|
||||||
that.noSuggestionsContainer = null;
|
that.noSuggestionsContainer = null;
|
||||||
that.options = $.extend({}, Autocomplete.defaults, options);
|
that.options = $.extend(true, {}, Autocomplete.defaults, options);
|
||||||
that.classes = {
|
that.classes = {
|
||||||
selected: 'autocomplete-selected',
|
selected: 'autocomplete-selected',
|
||||||
suggestion: 'autocomplete-suggestion'
|
suggestion: 'autocomplete-suggestion'
|
||||||
|
Loading…
Reference in New Issue
Block a user