We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 63aa789 commit 37bf462Copy full SHA for 37bf462
src/jquery.autocomplete.js
@@ -248,9 +248,7 @@
248
249
setOptions: function (suppliedOptions) {
250
var that = this,
251
- options = that.options;
252
-
253
- this.options = $.extend({}, options, suppliedOptions);
+ options = $.extend({}, that.options, suppliedOptions);
254
255
that.isLocal = Array.isArray(options.lookup);
256
@@ -266,6 +264,8 @@
266
264
'width': options.width + 'px',
267
265
'z-index': options.zIndex
268
});
+
+ this.options = options;
269
},
270
271
0 commit comments