fixed minnor error

This commit is contained in:
marcos 2021-04-15 13:55:14 +02:00
parent 24099644be
commit e506523fff
2 changed files with 7 additions and 3 deletions

View File

@ -114,7 +114,8 @@ function pandoraFlotPie(
// Reset styles
function resetInteractivity() {
legends.css("color", "#fff");
legends.css("color", "#3F3F3D");
legends.attr("class", "invert_filter");
}
if (water_mark) {
@ -293,7 +294,6 @@ function pandoraFlotPieCustom(
function resetInteractivity() {
legends.each(function() {
// fix the widths so they don't jump around
console.log($(this));
$(this).css("color", "#3F3F3D");
});
}

View File

@ -73,7 +73,11 @@ if ($manageDashboards !== 0) {
$output .= '</div>';
$output .= '</div>';
if ($options['background'] === null && $config['style'] === 'pandora_black') {
if ($config['style'] === 'pandora') {
$options['background'] = '#fff';
}
if ($config['style'] === 'pandora_black') {
$options['background'] = '#222';
}