diff --git a/public/js/searchbar.js b/public/js/searchbar.js index 5f6b610b9232362fd90f066b28434da187606325..40040bc2ec84f120af7fad7c9a2e46309550def0 100644 --- a/public/js/searchbar.js +++ b/public/js/searchbar.js @@ -362,11 +362,11 @@ function loadFocusForSearch (focus) { } function clearCustomSearch () { - $('.custom-search-hidden').empty(); + $('.search-custom-hidden').empty(); } function addSumaToCustomSearch (sumaId) { - $('.custom-search-hidden').append('<input type="hidden" name="' + sumaId + '" value="on">'); + $('.search-custom-hidden').append('<input type="hidden" name="' + sumaId + '" value="on">'); } function getFocusInUrl () { diff --git a/resources/assets/js/searchbar.js b/resources/assets/js/searchbar.js index c58377790ae02398c40fdb8e317a15b941fb5d6b..42fa9f965b7e7379081c4e3c9c26ceb649f80039 100644 --- a/resources/assets/js/searchbar.js +++ b/resources/assets/js/searchbar.js @@ -362,11 +362,11 @@ function loadFocusForSearch (focus) { } function clearCustomSearch () { - $('.custom-search-hidden').empty(); + $('.search-custom-hidden').empty(); } function addSumaToCustomSearch (sumaId) { - $('.custom-search-hidden').append('<input type="hidden" name="' + sumaId + '" value="on">'); + $('.search-custom-hidden').append('<input type="hidden" name="' + sumaId + '" value="on">'); } function getFocusInUrl () { diff --git a/resources/assets/less/metager/searchbar.less b/resources/assets/less/metager/searchbar.less index 03dac5ce424eb60758d4d152dbb0e61c679278ce..23c2b40ed11775c4513c86a954c92693c0339425 100644 --- a/resources/assets/less/metager/searchbar.less +++ b/resources/assets/less/metager/searchbar.less @@ -81,6 +81,9 @@ .search-hidden { display: none; } + .search-custom-hidden { + display: none; + } @media (max-width: @screen-xs-max) { flex-direction: column-reverse; } diff --git a/resources/views/parts/searchbar.blade.php b/resources/views/parts/searchbar.blade.php index cf909425147addd9a58aaad5b9998c3c94f1ec8d..1f6dad1e1e4b1a61852d6144f35364bf383d8e38 100644 --- a/resources/views/parts/searchbar.blade.php +++ b/resources/views/parts/searchbar.blade.php @@ -63,7 +63,7 @@ <input type="hidden" name="theme" value={{ $theme }}> @endif </div> - <div class="custom-search-hidden"></div> + <div class="search-custom-hidden"></div> </div> </form> </fieldset> \ No newline at end of file