mirror of
https://github.com/smogon/pokemon-showdown-client.git
synced 2026-04-25 07:57:01 -05:00
Support renaming battles (#1559)
This commit is contained in:
parent
7b204ed336
commit
ccb33eb981
|
|
@ -1736,6 +1736,7 @@ function toId() {
|
|||
return false;
|
||||
}
|
||||
room.id = newid;
|
||||
if (room.battle) room.battle.roomid = newid;
|
||||
room.title = newtitle;
|
||||
room.$el[0].id = 'room-' + newid;
|
||||
this.rooms[newid] = room;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user