This commit is contained in:
Zack Rauen 2018-10-29 12:36:21 -04:00
parent faa4747f42
commit 6e8470c0d5
2 changed files with 2 additions and 2 deletions

View File

@ -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);

2
js/main.min.js vendored

File diff suppressed because one or more lines are too long