Skip to content

Commit

Permalink
Update jQuery Autocomplete to 1.4.1
Browse files Browse the repository at this point in the history
  • Loading branch information
viocassel committed Apr 4, 2017
1 parent 074c0c9 commit 58cd498
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions media/jui/js/jquery.autocomplete.js
@@ -1,5 +1,5 @@
/**
* Ajax Autocomplete for jQuery, version 1.4.0
* Ajax Autocomplete for jQuery, version 1.4.1
* (c) 2017 Tomas Kirda
*
* Ajax Autocomplete for jQuery is freely distributable under the terms of an MIT-style license.
Expand Down Expand Up @@ -91,7 +91,7 @@
Autocomplete.defaults = {
ajaxSettings: {},
autoSelectFirst: false,
appendTo: document.body,
appendTo: 'body',
serviceUrl: null,
lookup: null,
onSelect: null,
Expand Down Expand Up @@ -174,7 +174,7 @@

container = $(that.suggestionsContainer);

container.appendTo(options.appendTo);
container.appendTo(options.appendTo || 'body');

// Only set width if it was provided:
if (options.width !== 'auto') {
Expand Down Expand Up @@ -250,7 +250,7 @@
var that = this,
options = that.options;

$.extend(options, suppliedOptions);
this.options = $.extend({}, options, suppliedOptions);

that.isLocal = $.isArray(options.lookup);

Expand Down

0 comments on commit 58cd498

Please sign in to comment.