mirror of
https://github.com/smogon/pokemon-showdown-client.git
synced 2026-05-09 04:23:01 -05:00
Show the pretty format name in the battle tab
This commit is contained in:
parent
df3622aae0
commit
bc45b342aa
|
|
@ -1893,7 +1893,7 @@
|
|||
name = '(empty room)';
|
||||
}
|
||||
}
|
||||
return buf + '<i class="text">' + formatid + '</i><span>' + name + '</span></a><a class="closebutton" href="' + app.root + id + '"><i class="fa fa-times-circle"></i></a></li>';
|
||||
return buf + '<i class="text">' + Tools.escapeFormat(formatid) + '</i><span>' + name + '</span></a><a class="closebutton" href="' + app.root + id + '"><i class="fa fa-times-circle"></i></a></li>';
|
||||
} else {
|
||||
return buf + '<i class="fa fa-comment-o"></i> <span>' + (Tools.escapeHTML(room.title) || (id === 'lobby' ? 'Lobby' : id)) + '</span></a><a class="closebutton" href="' + app.root + id + '"><i class="fa fa-times-circle"></i></a></li>';
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user