typo
This commit is contained in:
parent
faa4747f42
commit
6e8470c0d5
|
@ -1780,7 +1780,7 @@ ThemeModule.prototype.unloadTheme = function(filenameOrName) {
|
|||
|
||||
ThemeModule.prototype.reloadTheme = function(filenameOrName) {
|
||||
const bdtheme = Object.values(bdplugins).find(p => p.filename == filenameOrName) || bdthemes[filenameOrName];
|
||||
if (!bdtheme) return this.loadtheme(filenameOrName);
|
||||
if (!bdtheme) return this.loadTheme(filenameOrName);
|
||||
const theme = bdtheme.name;
|
||||
const error = ContentManager.reloadContent(bdthemes[theme].filename, "theme");
|
||||
if (themeCookie[theme]) this.disableTheme(theme, true), this.enableTheme(theme, true);
|
||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue