mirror of
https://github.com/devbridge/jQuery-Autocomplete.git
synced 2024-12-22 10:58:55 +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.suggestionsContainer = null;
|
||||
that.noSuggestionsContainer = null;
|
||||
that.options = $.extend({}, Autocomplete.defaults, options);
|
||||
that.options = $.extend(true, {}, Autocomplete.defaults, options);
|
||||
that.classes = {
|
||||
selected: 'autocomplete-selected',
|
||||
suggestion: 'autocomplete-suggestion'
|
||||
|
Loading…
Reference in New Issue
Block a user