]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - tpl/login.html
Fixed #65 - sur le form de login, focus au champ login
[github/wallabag/wallabag.git] / tpl / login.html
index 8b2f80f8b31620e7e599ac6b56bb09fde1e69fe9..b78b72e1e351f2c0b5ceecad5ab69b907e17c667 100644 (file)
@@ -21,4 +21,7 @@
                 <input type="hidden" name="returnurl" value="<?php echo htmlspecialchars($referer);?>">
                 <input type="hidden" name="token" value="<?php echo Session::getToken(); ?>">
             </form>
+            <script type="text/javascript">
+            window.onload = document.loginform.login.focus();
+            </script>
 {include="footer"}