mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-12-31 12:28:50 +08:00
focusing chat on page change
This commit is contained in:
parent
a625461800
commit
77d29ff7be
1 changed files with 1 additions and 0 deletions
|
|
@ -3356,6 +3356,7 @@ function changePage(page) {
|
|||
pageTransition = false;
|
||||
mp_scrollChat();
|
||||
showTestConfig();
|
||||
$(".pageTribe .lobby .chat .input input").focus();
|
||||
history.pushState("tribe", null, "tribe");
|
||||
$(".page.pageTribe").addClass("active");
|
||||
if (!MP.socket.connected) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue