Autofocus on input field

Closes https://github.com/wasi-master/13ft/issues/31
This commit is contained in:
Wasi Master
2024-10-27 15:57:11 +06:00
parent 47ad1cf22e
commit cbb40f9e94
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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>
+1 -1
View File
@@ -159,7 +159,7 @@ html = """
<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>