mirror of
https://github.com/devbridge/jQuery-Autocomplete.git
synced 2024-11-09 14:50:57 +00:00
Fix white space.
This commit is contained in:
parent
a2c472853b
commit
8e6812d603
@ -1,6 +1,6 @@
|
||||
/**
|
||||
* 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.
|
||||
* For details, see the web site: https://github.com/devbridge/jQuery-Autocomplete
|
||||
@ -615,11 +615,10 @@
|
||||
var that = this,
|
||||
container = $(that.suggestionsContainer);
|
||||
|
||||
if ($.isFunction(this.options.onHide) && that.visible) {
|
||||
|
||||
this.options.onHide.call(that.element, container);
|
||||
if ($.isFunction(that.options.onHide) && that.visible) {
|
||||
that.options.onHide.call(that.element, container);
|
||||
}
|
||||
|
||||
|
||||
that.visible = false;
|
||||
that.selectedIndex = -1;
|
||||
clearInterval(that.onChangeInterval);
|
||||
@ -629,12 +628,11 @@
|
||||
|
||||
suggest: function () {
|
||||
if (this.suggestions.length === 0) {
|
||||
this.options.showNoSuggestionNotice ? this.noSuggestions() : this.hide();
|
||||
if (this.options.showNoSuggestionNotice) {
|
||||
this.noSuggestions();
|
||||
} else {
|
||||
this.hide();
|
||||
}
|
||||
if (this.options.showNoSuggestionNotice) {
|
||||
this.noSuggestions();
|
||||
} else {
|
||||
this.hide();
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user