mirror of
https://github.com/billz/raspap-webgui.git
synced 2023-10-10 13:37:24 +02:00
Fix theme select for material variants
This commit is contained in:
parent
4f2a43365b
commit
a4e8beabdf
@ -144,6 +144,9 @@ function DisplaySystem(&$extraFooterScripts)
|
||||
"material-light" => "material-light.php"
|
||||
];
|
||||
$selectedTheme = array_search($_COOKIE['theme'], $themeFiles);
|
||||
if (strpos($_COOKIE['theme'],'material') !== false) {
|
||||
$selectedTheme = 'material-light';
|
||||
}
|
||||
|
||||
$extraFooterScripts[] = array('src'=>'dist/huebee/huebee.pkgd.min.js', 'defer'=>false);
|
||||
$extraFooterScripts[] = array('src'=>'app/js/huebee.js', 'defer'=>false);
|
||||
|
Loading…
Reference in New Issue
Block a user