]> git.cworth.org Git - lmno.games/blobdiff - empires/game.html
Add some autofocus attributes
[lmno.games] / empires / game.html
index c901f5fc20d8573182e34d747ed26e85d93fd271..d9de6a9f2cef981e51b51d6bb9413a8b52fddf87 100644 (file)
@@ -2,7 +2,7 @@
 <html>
   <head>
     <meta charset="utf-8"/>
-    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
+    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
 
     <title>The Game of Empires</title>
 
@@ -62,7 +62,7 @@
         <form id="register-form" onsubmit="register(this); return false">
           <div class="form-field large">
             <label for="character">Character name</label>
-            <input type="text" id="character" autocomplete="off" required>
+            <input type="text" id="character" autocomplete="off" required autofocus>
           </div>
 
           <div class="form-field large">