Revert "enable search field autofocus"
Some checks failed
website-main / test-build (push) Successful in 53s
website-main / prod-build (push) Failing after 14m52s

This reverts commit 8408ebf944adb4746b1f87884d84e6a3679a2401.
This commit is contained in:
Denys Konovalov 2023-09-30 19:51:50 +02:00
parent f9d3f5f87e
commit 8e259537f8
2 changed files with 2 additions and 3 deletions

@ -30,7 +30,6 @@
clear_search: "Löschen" clear_search: "Löschen"
} }
}); });
document.getElementsByClassName("pagefind-ui__search-input")[0].autofocus=true;
}); });
</script> </script>

@ -67,7 +67,7 @@
{{ end }} {{ end }}
{{ end }} {{ end }}
<li class="nav-item"> <li class="nav-item">
<div class="nav-link nav-search" id="search-button" onclick="$('#pagefind-search').modal('show');">Suche</div> <div class="nav-link nav-search" onclick="$('#pagefind-search').modal('show');">Suche</button>
</li> </li>
</ul> </ul>
</div> </div>