Commit 7c8d4853 authored by Kamil Szymański's avatar Kamil Szymański

Changed the method, that gets the search block text input field width.

parent 558a0ef3
......@@ -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