Browse Source

input autofocus (#564)

Rubi 5 năm trước cách đây
mục cha
commit
e90f6db575
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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>