This commit is contained in:
barisusakli
2017-03-07 13:09:14 +03:00
parent f732d6c1b9
commit 992e3128bd
4 changed files with 10 additions and 5 deletions

View File

@@ -190,12 +190,12 @@ module.exports = function (middleware) {
}
function setBootswatchCSS(obj, config) {
if (config && config.bootswatchSkin !== 'default') {
if (config && config.bootswatchSkin !== 'noskin') {
var skinToUse = '';
if (parseInt(meta.config.disableCustomUserSkins, 10) !== 1) {
skinToUse = config.bootswatchSkin;
} else if (meta.config.bootswatchSkin !== 'default') {
} else if (meta.config.bootswatchSkin) {
skinToUse = meta.config.bootswatchSkin;
}