mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 08:45:12 +02:00
Fix visual issue
This commit is contained in:
parent
758933a211
commit
4c2ad2822f
@ -404,6 +404,16 @@ function treeMap(recipient, data, width, height) {
|
|||||||
var isIE = true;
|
var isIE = true;
|
||||||
var chartWidth = width;
|
var chartWidth = width;
|
||||||
var chartHeight = height;
|
var chartHeight = height;
|
||||||
|
var consoleStyle = document.getElementById("hidden-selected_style_theme")
|
||||||
|
.value;
|
||||||
|
$("#tooltip").css(
|
||||||
|
"color",
|
||||||
|
consoleStyle === "pandora_black" ? "rgb(240, 240, 240)" : "rgb(0, 0, 0)"
|
||||||
|
);
|
||||||
|
$("#tooltip").css(
|
||||||
|
"background-color",
|
||||||
|
consoleStyle === "pandora_black" ? "rgb(0, 0, 0)" : "rgb(240, 240, 240)"
|
||||||
|
);
|
||||||
if (width === "auto") {
|
if (width === "auto") {
|
||||||
chartWidth = $(recipient).innerWidth();
|
chartWidth = $(recipient).innerWidth();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user