mirror of
https://github.com/devbridge/jQuery-Autocomplete.git
synced 2024-11-25 14:17:45 +00:00
Update jquery.autocomplete.js
This commit is contained in:
parent
63b5d6e3a2
commit
67d4b7d750
@ -198,8 +198,8 @@
|
|||||||
that.select($(this).data('index'));
|
that.select($(this).data('index'));
|
||||||
});
|
});
|
||||||
|
|
||||||
container.on('mousedown.autocomplete', function () {
|
container.on('mousedown.autocomplete', function (e) {
|
||||||
clearTimeout(that.blurTimeoutId);
|
e.preventDefault();
|
||||||
})
|
})
|
||||||
|
|
||||||
that.fixPositionCapture = function () {
|
that.fixPositionCapture = function () {
|
||||||
@ -229,13 +229,7 @@
|
|||||||
},
|
},
|
||||||
|
|
||||||
onBlur: function () {
|
onBlur: function () {
|
||||||
var that = this;
|
this.hide();
|
||||||
|
|
||||||
// If user clicked on a suggestion, hide() will
|
|
||||||
// be canceled, otherwise close suggestions
|
|
||||||
that.blurTimeoutId = setTimeout(function () {
|
|
||||||
that.hide();
|
|
||||||
}, 200);
|
|
||||||
},
|
},
|
||||||
|
|
||||||
abortAjax: function () {
|
abortAjax: function () {
|
||||||
|
Loading…
Reference in New Issue
Block a user