changeset 248:8d46f1358233

Add autofocus in vote login as well.
author Matti Hamalainen <ccr@tnsp.org>
date Sun, 24 Nov 2013 00:24:38 +0200
parents 8945b78dd6b6
children 6927edc7e266
files vote.inc.php
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/vote.inc.php	Sat Nov 23 23:38:55 2013 +0200
+++ b/vote.inc.php	Sun Nov 24 00:24:38 2013 +0200
@@ -37,7 +37,7 @@
     " ".stGetFormHiddenInput("goto", "vote")."\n".
     " <div class=\"votectrl\">\n".
     "  Enter your vote key:\n".
-    "  ".stGetFormTextInput($userKeyLen > 30 ? $userKeyLen : 30, $userKeyLen, "key", "", "", "", "autocomplete=\"off\"")."\n".
+    "  ".stGetFormTextInput($userKeyLen > 30 ? $userKeyLen : 30, $userKeyLen, "key", "", "", "", "autocomplete=\"off\" autofocus=\"autofocus\"")."\n".
     "  ".stGetFormSubmitInput("login", "Login")."\n".
     " </div>\n".
     "</form>\n";