Skip to content

Commit

Permalink
Hotfix: remove buggy autofocus (fixes Rudloff#117)
Browse files Browse the repository at this point in the history
  • Loading branch information
Rudloff committed Sep 9, 2017
1 parent dc109f3 commit 785a2f0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions templates/index.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,9 @@
</label>
<div class="champs">
<span class="URLinput_wrapper">
<input class="URLinput large-font" type="url" name="url" id="url"
required autofocus placeholder="http://example.com/video" />
<!-- We used to have an autofocus attribute on this field but it triggerd a very specific CSS bug: https://github.com/Rudloff/alltube/issues/117 -->
<input class="URLinput large-font" type="url" name="url" id="url"
required placeholder="http://example.com/video" />
</span>
{if $config->uglyUrls}
<input type="hidden" name="page" value="video" />
Expand Down

0 comments on commit 785a2f0

Please sign in to comment.