浏览代码

input autofocus (#564)

Rubi 5 年之前
父节点
当前提交
e90f6db575
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      examples/chat/home.html

+ 1 - 1
examples/chat/home.html

@@ -92,7 +92,7 @@ body {
 <div id="log"></div>
 <form id="form">
     <input type="submit" value="Send" />
-    <input type="text" id="msg" size="64"/>
+    <input type="text" id="msg" size="64" autofocus />
 </form>
 </body>
 </html>