This commit is contained in:
Cayo Puigdefabregas 2022-11-28 15:24:31 +01:00
parent 994cd3c6ca
commit b39388bef0
2 changed files with 1 additions and 3 deletions

View File

@ -48,12 +48,12 @@
/**
* Search bar toggle
*/
if (select(".search-bar-toggle")) {
on("click", ".search-bar-toggle", (e) => {
select(".search-bar").classList.toggle("search-bar-show")
})
}
*/
/**
* Navbar links active state on scroll

View File

@ -11,8 +11,6 @@
<form class="search-form d-flex align-items-center" method="" id="SearchFormAdvance" action="/inventory/search/">
<input class="dropdown-toggle" type="text" name="q" placeholder="Search" title="Enter search keyword"
autocomplete="off" id="dropdownSearch" data-bs-toggle="dropdown" aria-expanded="false">
<input class="d-none" type="hidden" name="query" placeholder="Search" title="Enter search keyword"
autocomplete="off" id="dropdownSearch" data-bs-toggle="dropdown" aria-expanded="false">
<button type="submit" title="Search"><i class="bi bi-search"></i></button>
</form>
</div><!-- End Search Bar -->