lib
This commit is contained in:
parent
a369c1c56d
commit
fca8097aa8
File diff suppressed because one or more lines are too long
|
@ -3759,7 +3759,7 @@ var BDFDB = {myPlugins: BDFDB && BDFDB.myPlugins ? BDFDB.myPlugins : {}, BDv2Api
|
||||||
};
|
};
|
||||||
|
|
||||||
BDFDB.getTheme = function (themename, hasToBeEnabled = false) {
|
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;
|
return null;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue