Small fixes for 0.3.2

This commit is contained in:
HighImKevin committed 2025-11-23 05:14:05 -05:00
1 parent 5411065530
commit a607e2c45c
3 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -778,7 +778,7 @@
}
// Find watchlist tab by checking if the ContentHtml includes div class=\"sections watchlist\"
const watchlistTab = tabs.find(tab => tab.ContentHtml === '<div class="sections watchlist"></div>');
const watchlistTab = tabs.find(tab => tab.ContentHtml.includes('sections watchlist'));
if (watchlistTab) {
console.log('[KefinTweaks Startup] Watchlist tab already exists with correct ContentHtml');
+1 -1
View File
@@ -1188,7 +1188,7 @@ window.KefinTweaksConfig = ${JSON.stringify(config, null, 2)};`;
img = document.createElement('div');
img.className = 'defaultCardBackground';
// give the gradient some color
img.style.background = 'url(https://raw.githubusercontent.com/ranaldsgift/KefinTweaks/refs/heads/main/KefinTweaks/pages/images/logo.png), linear-gradient(to bottom, #202020, #101010)';
img.style.background = 'url(https://raw.githubusercontent.com/ranaldsgift/KefinTweaks/refs/heads/main/logo.png), linear-gradient(to bottom, #202020, #101010)';
img.style.backgroundSize = 'contain';
img.style.backgroundPosition = 'center';
img.style.backgroundRepeat = 'no-repeat';
+1 -1
View File
@@ -45,7 +45,7 @@
return new Promise((resolve, reject) => {
try {
const defaultConfigUrl = window.KefinTweaksConfig?.kefinTweaksRoot
? `${window.KefinTweaksConfig.kefinTweaksRoot}kefinTweaks-default-config.js`;
? `${window.KefinTweaksConfig.kefinTweaksRoot}/kefinTweaks-default-config.js` : null;
if (!defaultConfigUrl) {
reject(new Error('No default config URL found'));