diff --git a/src/definitions/modules/search.js b/src/definitions/modules/search.js index 1291942d2..6fadaeb89 100644 --- a/src/definitions/modules/search.js +++ b/src/definitions/modules/search.js @@ -362,17 +362,7 @@ $.fn.search = function(parameters) { module.search.local(searchTerm); } else if( module.can.useAPI() ) { - if(settings.apiSettings) { - module.debug('Searching with specified API settings', settings.apiSettings); - module.search.remote(searchTerm); - } - else if($.api.settings.api.search !== undefined) { - module.debug('Searching with default search API endpoint'); - module.search.remote(searchTerm); - } - else { - module.error(error.noEndpoint); - } + module.search.remote(searchTerm); } else { module.error(error.source);