2
0
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:
719media 2017-04-19 15:09:21 -07:00 committed by GitHub
parent 63b5d6e3a2
commit 67d4b7d750

View File

@ -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 () {