make default theme actually work
This commit is contained in:
parent
816042d3a8
commit
555847e5e9
2 changed files with 3 additions and 4 deletions
|
@ -294,8 +294,8 @@ async function loadApp() {
|
|||
const match = href.match(/^bundles\/.*\/theme-(.*)\.css$/);
|
||||
if (match) {
|
||||
if (match[1] === (configJson.default_theme || 'light')) {
|
||||
// remove the alternative flag off the stylesheet
|
||||
a.setAttribute("rel", "stylesheet");
|
||||
// remove the disabled flag off the stylesheet
|
||||
a.removeAttribute("disabled");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue