Usersearch: Remove extraneous linebreaks when there are no online matches

This commit is contained in:
Mia 2021-04-29 09:56:20 -05:00
parent 721e7bc8a2
commit 1b0bcc9000

View File

@ -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('; ');
}
}