Skip to content

Commit f6eef03

Browse files
author
Tomas Kirda
committed
Use deep copy when cloning settings. Fixes devbridge#723
1 parent 52e4899 commit f6eef03

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/jquery.autocomplete.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@
7070
that.isLocal = false;
7171
that.suggestionsContainer = null;
7272
that.noSuggestionsContainer = null;
73-
that.options = $.extend({}, Autocomplete.defaults, options);
73+
that.options = $.extend(true, {}, Autocomplete.defaults, options);
7474
that.classes = {
7575
selected: 'autocomplete-selected',
7676
suggestion: 'autocomplete-suggestion'

0 commit comments

Comments
 (0)