]> git.scottworley.com Git - reliable-chat/commitdiff
Auto-focus the input field.
authorJason Hibbs <skitch@gmail.com>
Fri, 3 Aug 2012 00:35:38 +0000 (17:35 -0700)
committerJason Hibbs <skitch@gmail.com>
Fri, 3 Aug 2012 00:35:38 +0000 (17:35 -0700)
webclient/rc.html

index a896281f0247abfebcf20b46f87b637dfdaa0a2a..3417745d75be14f6f683072f2abbc4c1b4aeec11 100644 (file)
                <tr><td id="history"></td></tr>
                <tr><td id="status">&nbsp;</td></tr>
                <tr><td><form name="input" onsubmit="return false" autocomplete="off">
-                       <input id="say" onkeydown="return rckeydown(event)" autocomplete="off"></input>
+                       <input id="say" onkeydown="return rckeydown(event)" autocomplete="off" autofocus="autofocus"></input>
                        </form></td></tr>
        </table>
 </body>