yet another typo

This commit is contained in:
Zack Rauen 2018-10-29 21:29:50 -04:00
parent 75a8129c71
commit eb7aadac68
2 changed files with 2 additions and 2 deletions

View File

@ -1779,7 +1779,7 @@ ThemeModule.prototype.unloadTheme = function(filenameOrName) {
};
ThemeModule.prototype.reloadTheme = function(filenameOrName) {
const bdtheme = Object.values(bdplugins).find(p => p.filename == filenameOrName) || bdthemes[filenameOrName];
const bdtheme = Object.values(bdthemes).find(p => p.filename == filenameOrName) || bdthemes[filenameOrName];
if (!bdtheme) return this.loadTheme(filenameOrName);
const theme = bdtheme.name;
const error = ContentManager.reloadContent(bdthemes[theme].filename, "theme");

2
js/main.min.js vendored

File diff suppressed because one or more lines are too long