diff --git a/theme.js b/theme.js index 2a3690d..ac6cb24 100644 --- a/theme.js +++ b/theme.js @@ -131,6 +131,7 @@ $('#link-buscar').click(function(e) { function toggleFilterOptions(){ var filterOptions = $("#filter-categories-option"); + var filterHeight = filterOptions[0].scrollHeight; var showOptions = $("#filter-option-catalog-software"); var hideOptions = $("#filter-option-catalog-close"); if(hideOptions.is(":visible")){ @@ -146,7 +147,7 @@ $('#link-buscar').click(function(e) { showOptions.hide(); hideOptions.show(); filterOptions.animate({ - height: 565 + height: filterHeight },500); } } -- libgit2 0.21.2