mirror of
https://github.com/nuttylmao/nutty.gg.git
synced 2026-09-19 04:00:59 -04:00
Updated StringToHex -> RandomHex
This commit is contained in:
@@ -896,7 +896,7 @@ function YouTubeMessage(data) {
|
||||
if (showUsername) {
|
||||
usernameDiv.innerText = data.user.name;
|
||||
if (randomYouTubeColors)
|
||||
usernameDiv.style.color = StringToHex(data.user.name);
|
||||
usernameDiv.style.color = RandomHex(data.user.name);
|
||||
else
|
||||
usernameDiv.style.color = youtubeColor; // YouTube users do not have colors, so just set it to red
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user