diff options
author | Minteck <contact@minteck.org> | 2022-10-10 20:51:39 +0200 |
---|---|---|
committer | Minteck <contact@minteck.org> | 2022-10-10 20:51:39 +0200 |
commit | 108525534c28013cfe1897c30e4565f9893f3766 (patch) | |
tree | dd3e5132971f96ab5f05e7f3f8f6dbbf379a19bd /app/functions.js | |
parent | 2162eaa06f7e4764eb3dcfe130ec2c711d0c62ab (diff) | |
download | pluralconnect-108525534c28013cfe1897c30e4565f9893f3766.tar.gz pluralconnect-108525534c28013cfe1897c30e4565f9893f3766.tar.bz2 pluralconnect-108525534c28013cfe1897c30e4565f9893f3766.zip |
Update
Diffstat (limited to 'app/functions.js')
-rw-r--r-- | app/functions.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/functions.js b/app/functions.js index 207bc42..4d89e30 100644 --- a/app/functions.js +++ b/app/functions.js @@ -1,9 +1,9 @@ -// Function ported from /includes/header.php (line 18) +// Function ported from /includes/header.inc (line 18) // Ported function has matched behavior. function getMiniName(name) { let parts = name.split(" "); - if (parts[0].length > 3 && !parts[0].endsWith("e") && parts[0] !== "Filly" && parts[0] !== "Windy") { + if (parts[0].length > 3 && !parts[0].endsWith("e") && parts[0] !== "Filly" && parts[0] !== "Windy" && parts[1] !== "Brightdawn") { if (parts[0].includes("/")) { return parts[0].split("/")[0]; } else { |