Skip to content

Commit

Permalink
Autofocus on input field
Browse files Browse the repository at this point in the history
Closes #31
  • Loading branch information
wasi-master committed Oct 27, 2024
1 parent 47ad1cf commit cbb40f9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@
<form action="/article" method="post">
<h1>Enter Website Link</h1>
<label for="link">Link of the website you want to remove paywall for:</label>
<input type="text" id="link" name="link" required>
<input type="text" id="link" name="link" required autofocus>
<input type="submit" value="Submit">
</form>

Expand Down
2 changes: 1 addition & 1 deletion app/portable.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@
<form action="/article" method="post">
<h1>Enter Website Link</h1>
<label for="link">Link of the website you want to remove paywall for:</label>
<input type="text" id="link" name="link" required>
<input type="text" id="link" name="link" required autofocus>
<input type="submit" value="Submit">
</form>
Expand Down

0 comments on commit cbb40f9

Please sign in to comment.