diff options
author | Jesús <heckyel@hyperbola.info> | 2021-07-04 12:08:21 -0500 |
---|---|---|
committer | Jesús <heckyel@hyperbola.info> | 2021-07-04 12:08:21 -0500 |
commit | 49d823e13528536d064d32f7fb84c2f13448db21 (patch) | |
tree | f9274891ae34855a6f23fe750d2e2e1ddda6b93c /youtube/templates/base.html | |
parent | de5510d3e36759fd70e07448c4bff0b301caa97c (diff) | |
download | yt-local-49d823e13528536d064d32f7fb84c2f13448db21.tar.lz yt-local-49d823e13528536d064d32f7fb84c2f13448db21.tar.xz yt-local-49d823e13528536d064d32f7fb84c2f13448db21.zip |
Fix request search when is empty
Diffstat (limited to 'youtube/templates/base.html')
-rw-r--r-- | youtube/templates/base.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube/templates/base.html b/youtube/templates/base.html index 8a0238a..3a5d9d0 100644 --- a/youtube/templates/base.html +++ b/youtube/templates/base.html @@ -22,7 +22,7 @@ </nav> <form class="form" id="site-search" action="/youtube.com/results"> <input type="search" name="search_query" class="search-box" value="{{ search_box_value }}" - {{ "autofocus" if request.path == "/" else "" }} placeholder="Type to search..."> + {{ "autofocus" if request.path == "/" else "" }} required placeholder="Type to search..."> <button type="submit" value="Search" class="search-button">Search</button> <!-- options --> <div class="dropdown"> |