Merge branch '1660-WUX-stats-charts-dev' into 'develop'

Fixed jquery error

See merge request artica/pandorafms!1151
This commit is contained in:
vgilc 2018-01-29 13:31:19 +01:00
commit d9825c08b5
1 changed files with 4 additions and 6 deletions

View File

@ -213,21 +213,19 @@ function pandoraFlotPieCustom(graph_id, values, labels, width,
}
//$('.legend>table').css('border',"1px solid #E2E2E2");
if(background_color == 'transparent'){
if(background_color == 'transparent') {
$('.legend>table').css('background-color',"");
$('.legend>div').css('background-color',"");
$('.legend>table').css('color',"#aaa");
}
else if (background_color == 'white') {
} else if (background_color == 'white') {
$('.legend>table').css('background-color',"white");
$('.legend>table').css('color',"black");
}
else if (background_color == 'black') {
} else if (background_color == 'black') {
$('.legend>table').css('background-color',"black");
$('.legend>table').css('color',"#aaa");
}
$('.legend').over(function(){
$('.legend').hover(function() {
return false;
});