mirror of
https://github.com/devbridge/jQuery-Autocomplete.git
synced 2025-01-05 15:32:10 +00:00
Fix white space.
This commit is contained in:
parent
a2c472853b
commit
8e6812d603
@ -1,6 +1,6 @@
|
|||||||
/**
|
/**
|
||||||
* Ajax Autocomplete for jQuery, version %version%
|
* Ajax Autocomplete for jQuery, version %version%
|
||||||
* (c) 2014 Tomas Kirda
|
* (c) 2015 Tomas Kirda
|
||||||
*
|
*
|
||||||
* Ajax Autocomplete for jQuery is freely distributable under the terms of an MIT-style license.
|
* Ajax Autocomplete for jQuery is freely distributable under the terms of an MIT-style license.
|
||||||
* For details, see the web site: https://github.com/devbridge/jQuery-Autocomplete
|
* For details, see the web site: https://github.com/devbridge/jQuery-Autocomplete
|
||||||
@ -615,9 +615,8 @@
|
|||||||
var that = this,
|
var that = this,
|
||||||
container = $(that.suggestionsContainer);
|
container = $(that.suggestionsContainer);
|
||||||
|
|
||||||
if ($.isFunction(this.options.onHide) && that.visible) {
|
if ($.isFunction(that.options.onHide) && that.visible) {
|
||||||
|
that.options.onHide.call(that.element, container);
|
||||||
this.options.onHide.call(that.element, container);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
that.visible = false;
|
that.visible = false;
|
||||||
@ -629,7 +628,6 @@
|
|||||||
|
|
||||||
suggest: function () {
|
suggest: function () {
|
||||||
if (this.suggestions.length === 0) {
|
if (this.suggestions.length === 0) {
|
||||||
this.options.showNoSuggestionNotice ? this.noSuggestions() : this.hide();
|
|
||||||
if (this.options.showNoSuggestionNotice) {
|
if (this.options.showNoSuggestionNotice) {
|
||||||
this.noSuggestions();
|
this.noSuggestions();
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user