mirror of
https://github.com/nuttylmao/nutty.gg.git
synced 2026-09-19 04:00:59 -04:00
Kick is stupid and turns underscores into dashes which fuck everything up, therefore do a find/replace to make it work good
This commit is contained in:
@@ -81,6 +81,9 @@ const furryMode = GetBooleanParam("furryMode", false);
|
|||||||
|
|
||||||
const animationSpeed = GetIntParam("animationSpeed", 0.5);
|
const animationSpeed = GetIntParam("animationSpeed", 0.5);
|
||||||
|
|
||||||
|
// Kick is stupid and turns underscores into dashes which fuck everything up, therefore do a find/replace to make it work good
|
||||||
|
kickUsername = kickUsername.replace(/_/g, "-");
|
||||||
|
|
||||||
// Set fonts for the widget
|
// Set fonts for the widget
|
||||||
document.body.style.fontFamily = font;
|
document.body.style.fontFamily = font;
|
||||||
document.body.style.fontSize = `${fontSize}px`;
|
document.body.style.fontSize = `${fontSize}px`;
|
||||||
|
|||||||
@@ -55,7 +55,7 @@ const showTwitchChannelPointRedemptions = GetBooleanParam("showTwitchChannelPoin
|
|||||||
const showTwitchRaids = GetBooleanParam("showTwitchRaids", true);
|
const showTwitchRaids = GetBooleanParam("showTwitchRaids", true);
|
||||||
const showTwitchSharedChat = GetIntParam("showTwitchSharedChat", 2);
|
const showTwitchSharedChat = GetIntParam("showTwitchSharedChat", 2);
|
||||||
|
|
||||||
const kickUsername = urlParams.get("kickUsername") || "";
|
let kickUsername = urlParams.get("kickUsername") || "";
|
||||||
const showKickMessages = GetBooleanParam("showKickMessages", true);
|
const showKickMessages = GetBooleanParam("showKickMessages", true);
|
||||||
// const showKickFollows = GetBooleanParam("showKickFollows", false);
|
// const showKickFollows = GetBooleanParam("showKickFollows", false);
|
||||||
const showKickSubs = GetBooleanParam("showKickSubs", true);
|
const showKickSubs = GetBooleanParam("showKickSubs", true);
|
||||||
@@ -85,6 +85,9 @@ const furryMode = GetBooleanParam("furryMode", false);
|
|||||||
|
|
||||||
const animationSpeed = GetIntParam("animationSpeed", 0.1);
|
const animationSpeed = GetIntParam("animationSpeed", 0.1);
|
||||||
|
|
||||||
|
// Kick is stupid and turns underscores into dashes which fuck everything up, therefore do a find/replace to make it work good
|
||||||
|
kickUsername = kickUsername.replace(/_/g, "-");
|
||||||
|
|
||||||
// Set fonts for the widget
|
// Set fonts for the widget
|
||||||
document.body.style.fontFamily = font;
|
document.body.style.fontFamily = font;
|
||||||
document.body.style.fontSize = `${fontSize}px`;
|
document.body.style.fontSize = `${fontSize}px`;
|
||||||
|
|||||||
@@ -107,6 +107,9 @@ const tipeeestreamDonationAction = urlParams.get("tipeeestreamDonationAction") |
|
|||||||
const showFourthwallAlerts = GetBooleanParam("showFourthwallAlerts", false);
|
const showFourthwallAlerts = GetBooleanParam("showFourthwallAlerts", false);
|
||||||
const fourthwallAlertAction = urlParams.get("fourthwallAlertAction") || "";
|
const fourthwallAlertAction = urlParams.get("fourthwallAlertAction") || "";
|
||||||
|
|
||||||
|
// Kick is stupid and turns underscores into dashes which fuck everything up, therefore do a find/replace to make it work good
|
||||||
|
kickUsername = kickUsername.replace(/_/g, "-");
|
||||||
|
|
||||||
// Set avatar visibility
|
// Set avatar visibility
|
||||||
if (!showAvatar) {
|
if (!showAvatar) {
|
||||||
avatarElement.style.display = 'none';
|
avatarElement.style.display = 'none';
|
||||||
|
|||||||
Reference in New Issue
Block a user