diff options
author | James Taylor <28744867+user234683@users.noreply.github.com> | 2020-10-12 09:37:13 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-12 09:37:13 -0700 |
commit | fd253d9e07fa34e2a22d28d445839147daca9ee0 (patch) | |
tree | 7dfecaadce3cc58ddcc86e2cd9d5ef762563e9ce /youtube/templates/base.html | |
parent | 37d286fc7ce8feec72d9ecf5d238a42c873de1d0 (diff) | |
parent | 2cfc6dec39ccdcc0c5fe2eea73f47b7040e51833 (diff) | |
download | yt-local-fd253d9e07fa34e2a22d28d445839147daca9ee0.tar.lz yt-local-fd253d9e07fa34e2a22d28d445839147daca9ee0.tar.xz yt-local-fd253d9e07fa34e2a22d28d445839147daca9ee0.zip |
Merge branch 'master' into optional_proxy_images
Diffstat (limited to 'youtube/templates/base.html')
-rw-r--r-- | youtube/templates/base.html | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/youtube/templates/base.html b/youtube/templates/base.html index c647c68..f325f86 100644 --- a/youtube/templates/base.html +++ b/youtube/templates/base.html @@ -20,7 +20,8 @@ <header> <a href="/youtube.com" id="home-link">Home</a> <form id="site-search" action="/youtube.com/search"> - <input type="search" name="query" class="search-box" value="{{ search_box_value }}"> + <input type="search" name="query" class="search-box" value="{{ search_box_value }}" + {{ "autofocus" if request.path == "/" else "" }}> <button type="submit" value="Search" class="search-button">Search</button> <div class="dropdown"> <button class="dropdown-label">Options</button> |