Fix not focusing the nickname box on page load.

This commit is contained in:
Andy Janata 2018-03-02 14:28:28 -08:00
parent cdd38465fa
commit dc31b1f2ce
1 changed files with 2 additions and 2 deletions

View File

@ -40,8 +40,8 @@ $(document).ready(function() {
$("#nickname").val($.cookie("nickname"));
}
$("#nicknameconfirm").click(nicknameconfirm_click);
$("#nickbox").keyup(nickbox_keyup);
$("#nickbox").focus();
$("#nickname").keyup(nickbox_keyup);
$("#nickname").focus();
$(".chat", $("#tab-global")).keyup(chat_keyup($(".chat_submit", $("#tab-global"))));
$(".chat_submit", $("#tab-global")).click(chatsubmit_click(null, $("#tab-global")));