Commit cca1f4f1 authored by Gregory Roussac's avatar Gregory Roussac

Merge pull request #2387 from eeree/blocksearch-autocomplete-box-width-fix

[*] FO : Changed the method, that gets the search block text input field width.
parents e0b19b7b 7c8d4853
......@@ -31,7 +31,7 @@ $(document).ready(function()
var $input = $("#search_query_" + blocksearch_type);
var width_ac_results = $input.parent('form').width();
var width_ac_results = $input.parent('form').outerWidth();
if (typeof ajaxsearch != 'undefined' && ajaxsearch) {
$input.autocomplete(
search_url,
......@@ -121,4 +121,4 @@ function stopInstantSearchQueries()
for(var i=0; i<instantSearchQueries.length; i++)
instantSearchQueries[i].abort();
instantSearchQueries = [];
}
\ No newline at end of file
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment