mirror of
https://github.com/smogon/pokemon-showdown-client.git
synced 2026-05-09 04:23:01 -05:00
Focus join-chat button on room focus
This commit is contained in:
parent
d6483da595
commit
4c0acbfacf
|
|
@ -46,7 +46,11 @@
|
|||
},
|
||||
|
||||
focus: function() {
|
||||
if (this.$chatbox) this.$chatbox.focus();
|
||||
if (this.$chatbox) {
|
||||
this.$chatbox.focus();
|
||||
} else {
|
||||
this.$('button[name=login]').focus();
|
||||
}
|
||||
},
|
||||
|
||||
login: function() {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user