Don't set an undefined theme field to an empty string
| @@ -1313,9 +1313,7 @@ function applyTheme(name) { | |||
| 1313 | if (type) applyThemeColor(type); | 1313 | if (type) applyThemeColor(type); |
| 1314 | if (action) action(); | 1314 | if (action) action(); |
| 1315 | } else { | 1315 | } else { |
| 1316 | if (selector) { $(selector).attr('color', 'rgba(0,0,0,0)'); } | ||
| 1317 | console.debug(`Empty theme key: ${key}`); | 1316 | console.debug(`Empty theme key: ${key}`); |
| 1318 | power_user[key] = ''; | ||
| 1319 | } | 1317 | } |
| 1320 | } | 1318 | } |
| 1321 | 1319 | ||