mirror of
https://github.com/webmin/webmin.git
synced 2025-07-21 23:40:34 +00:00
Fix to correctly test for dark palette
This commit is contained in:
@ -56,7 +56,8 @@ if ($opts->{'type'} eq "advanced") {
|
||||
my @highlight_bundle = @{$highlight_bundle};
|
||||
if ($opts->{'_'}->{'client'}->{'palette'} eq 'dark') {
|
||||
foreach (@highlight_bundle) {
|
||||
$_ .= "-dark";
|
||||
$_ .= "-dark"
|
||||
if (-e "$root_directory/unauthenticated/css/$_-dark.min.css");
|
||||
}
|
||||
}
|
||||
&$load_css_modules(\@highlight_bundle);
|
||||
|
Reference in New Issue
Block a user