diff --git a/src/jquery.uls.languagefilter.js b/src/jquery.uls.languagefilter.js index a176353..8b2cc5b 100644 --- a/src/jquery.uls.languagefilter.js +++ b/src/jquery.uls.languagefilter.js @@ -192,13 +192,13 @@ } } } + } - // Also do a search by search API - if ( !this.resultCount && this.options.searchAPI && query ) { - this.searchAPI( query ); - } else { - this.resultHandler( query ); - } + // Also do a search by search API + if ( !this.resultCount && this.options.searchAPI && query ) { + this.searchAPI( query ); + } else { + this.resultHandler( query ); } },