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