Autofocus search bar only on search homepage

This commit is contained in:
Samantaz Fox
2022-01-13 22:19:19 +01:00
parent 042ff8da64
commit 6cf6c56dd1
3 changed files with 4 additions and 4 deletions

View File

@@ -35,7 +35,7 @@
<a href="/" class="index-link pure-menu-heading">Invidious</a>
</div>
<div class="pure-u-1 pure-u-md-12-24 searchbar">
<%= rendered "components/search_box" %>
<% autofocus = false %><%= rendered "components/search_box" %>
</div>
<% end %>