mirror of
https://github.com/smogon/pokemon-showdown.git
synced 2026-05-05 21:17:43 -05:00
Usersearch: Remove extraneous linebreaks when there are no online matches
This commit is contained in:
parent
721e7bc8a2
commit
1b0bcc9000
|
|
@ -29,7 +29,7 @@ function searchUsernames(target: string, page = false) {
|
|||
} else {
|
||||
buf += results.online.join('; ');
|
||||
if (results.offline.length) {
|
||||
buf += `<br /><br />`;
|
||||
if (results.online.length) buf += `<br /><br />`;
|
||||
buf += results.offline.join('; ');
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user