Skip to content

Commit cae37b9

Browse files
author
Tomas Kirda
committed
Rev for 1.4.0 release
1 parent cadd05f commit cae37b9

File tree

5 files changed

+9
-9
lines changed

5 files changed

+9
-9
lines changed

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "devbridge-autocomplete",
3-
"version": "1.4.0",
3+
"version": "1.4.1",
44
"homepage": "https://github.com/devbridge/jQuery-Autocomplete",
55
"authors": [
66
"Tomas Kirda"

devbridge-autocomplete.jquery.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"ajax",
77
"autocomplete"
88
],
9-
"version": "1.4.0",
9+
"version": "1.4.1",
1010
"author": {
1111
"name": "Tomas Kirda",
1212
"url": "https://github.com/tkirda"

dist/jquery.autocomplete.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Ajax Autocomplete for jQuery, version 1.4.0
2+
* Ajax Autocomplete for jQuery, version 1.4.1
33
* (c) 2017 Tomas Kirda
44
*
55
* Ajax Autocomplete for jQuery is freely distributable under the terms of an MIT-style license.
@@ -91,7 +91,7 @@
9191
Autocomplete.defaults = {
9292
ajaxSettings: {},
9393
autoSelectFirst: false,
94-
appendTo: document.body,
94+
appendTo: 'body',
9595
serviceUrl: null,
9696
lookup: null,
9797
onSelect: null,
@@ -174,7 +174,7 @@
174174

175175
container = $(that.suggestionsContainer);
176176

177-
container.appendTo(options.appendTo);
177+
container.appendTo(options.appendTo || 'body');
178178

179179
// Only set width if it was provided:
180180
if (options.width !== 'auto') {
@@ -250,7 +250,7 @@
250250
var that = this,
251251
options = that.options;
252252

253-
$.extend(options, suppliedOptions);
253+
this.options = $.extend({}, options, suppliedOptions);
254254

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

dist/jquery.autocomplete.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "devbridge-autocomplete",
3-
"version": "1.4.0",
3+
"version": "1.4.1",
44
"description": "Autocomplete provides suggestions while you type into the text field.",
55
"homepage": "https://github.com/devbridge/jQuery-Autocomplete",
66
"author": "Tomas Kirda (https://twitter.com/tkirda)",

0 commit comments

Comments
 (0)