mirror of
https://github.com/devbridge/jQuery-Autocomplete.git
synced 2024-11-21 20:35:17 +00:00
Rev for 1.4.10 release
This commit is contained in:
parent
e5df0659ea
commit
43b2953ab7
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "devbridge-autocomplete",
|
||||
"version": "1.4.9",
|
||||
"version": "1.4.10",
|
||||
"homepage": "https://github.com/devbridge/jQuery-Autocomplete",
|
||||
"authors": [
|
||||
"Tomas Kirda"
|
||||
|
@ -6,7 +6,7 @@
|
||||
"ajax",
|
||||
"autocomplete"
|
||||
],
|
||||
"version": "1.4.9",
|
||||
"version": "1.4.10",
|
||||
"author": {
|
||||
"name": "Tomas Kirda",
|
||||
"url": "https://github.com/tkirda"
|
||||
|
12
dist/jquery.autocomplete.js
vendored
12
dist/jquery.autocomplete.js
vendored
@ -1,5 +1,5 @@
|
||||
/**
|
||||
* Ajax Autocomplete for jQuery, version 1.4.9
|
||||
* Ajax Autocomplete for jQuery, version 1.4.10
|
||||
* (c) 2017 Tomas Kirda
|
||||
*
|
||||
* Ajax Autocomplete for jQuery is freely distributable under the terms of an MIT-style license.
|
||||
@ -36,7 +36,6 @@
|
||||
div.className = containerClass;
|
||||
div.style.position = 'absolute';
|
||||
div.style.display = 'none';
|
||||
div.setAttribute('unselectable','on');
|
||||
return div;
|
||||
}
|
||||
};
|
||||
@ -228,12 +227,19 @@
|
||||
},
|
||||
|
||||
onBlur: function () {
|
||||
var that = this;
|
||||
var that = this,
|
||||
options = that.options,
|
||||
value = that.el.val(),
|
||||
query = that.getQuery(value);
|
||||
|
||||
// If user clicked on a suggestion, hide() will
|
||||
// be canceled, otherwise close suggestions
|
||||
that.blurTimeoutId = setTimeout(function () {
|
||||
that.hide();
|
||||
|
||||
if (that.selection && that.currentValue !== query) {
|
||||
(options.onInvalidateSelection || $.noop).call(that.element);
|
||||
}
|
||||
}, 200);
|
||||
},
|
||||
|
||||
|
4
dist/jquery.autocomplete.min.js
vendored
4
dist/jquery.autocomplete.min.js
vendored
File diff suppressed because one or more lines are too long
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "devbridge-autocomplete",
|
||||
"version": "1.4.9",
|
||||
"version": "1.4.10",
|
||||
"description": "Autocomplete provides suggestions while you type into the text field.",
|
||||
"homepage": "https://github.com/devbridge/jQuery-Autocomplete",
|
||||
"author": "Tomas Kirda (https://twitter.com/tkirda)",
|
||||
|
Loading…
Reference in New Issue
Block a user