Don't set an undefined theme field to an empty string

This commit is contained in:
Cohee
2025-01-04 00:07:26 +02:00
parent 77bee453ab
commit 0a8fae06c2

View File

@ -1313,9 +1313,7 @@ function applyTheme(name) {
if (type) applyThemeColor(type);
if (action) action();
} else {
if (selector) { $(selector).attr('color', 'rgba(0,0,0,0)'); }
console.debug(`Empty theme key: ${key}`);
power_user[key] = '';
}
}