File tree Expand file tree Collapse file tree 1 file changed +9
-11
lines changed Expand file tree Collapse file tree 1 file changed +9
-11
lines changed Original file line number Diff line number Diff line change 11/**
22* Ajax Autocomplete for jQuery, version %version%
3- * (c) 2014 Tomas Kirda
3+ * (c) 2015 Tomas Kirda
44*
55* Ajax Autocomplete for jQuery is freely distributable under the terms of an MIT-style license.
66* For details, see the web site: https://github.com/devbridge/jQuery-Autocomplete
615615 var that = this ,
616616 container = $ ( that . suggestionsContainer ) ;
617617
618- if ( $ . isFunction ( this . options . onHide ) && that . visible ) {
619-
620- this . options . onHide . call ( that . element , container ) ;
618+ if ( $ . isFunction ( that . options . onHide ) && that . visible ) {
619+ that . options . onHide . call ( that . element , container ) ;
621620 }
622-
621+
623622 that . visible = false ;
624623 that . selectedIndex = - 1 ;
625624 clearInterval ( that . onChangeInterval ) ;
629628
630629 suggest : function ( ) {
631630 if ( this . suggestions . length === 0 ) {
632- this . options . showNoSuggestionNotice ? this . noSuggestions ( ) : this . hide ( ) ;
633- if ( this . options . showNoSuggestionNotice ) {
634- this . noSuggestions ( ) ;
635- } else {
636- this . hide ( ) ;
637- }
631+ if ( this . options . showNoSuggestionNotice ) {
632+ this . noSuggestions ( ) ;
633+ } else {
634+ this . hide ( ) ;
635+ }
638636 return ;
639637 }
640638
You can’t perform that action at this time.
0 commit comments