This commit is contained in:
Mirco Wittrien 2019-09-25 21:44:12 +02:00
parent a369c1c56d
commit fca8097aa8
2 changed files with 2 additions and 2 deletions

File diff suppressed because one or more lines are too long

View File

@ -3759,7 +3759,7 @@ var BDFDB = {myPlugins: BDFDB && BDFDB.myPlugins ? BDFDB.myPlugins : {}, BDv2Api
};
BDFDB.getTheme = function (themename, hasToBeEnabled = false) {
if (!hasToBeEnabled || BDFDB.isThemeEnabled(themename)) return window.bdthemes ? window.bdthemes[themename];
if (window.bdthemes && (!hasToBeEnabled || BDFDB.isThemeEnabled(themename))) return window.bdthemes[themename];
return null;
};