mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-27 15:54:29 +02:00
minor fixes
Former-commit-id: f885316b4f063daac744ca458fa3d41a16d5d81b
This commit is contained in:
parent
2d1463ee0c
commit
a76ad27825
@ -2956,6 +2956,10 @@ function init_graph(parameter_object) {
|
||||
$(window).height() - $("#menu_tab_frame_view").height() - 20; // 20 of margin
|
||||
}
|
||||
|
||||
if (typeof parameter_object.font_size != "undefined") {
|
||||
window.font_size = parameter_object.font_size;
|
||||
}
|
||||
|
||||
window.refresh_period = 5 * 1000; //milliseconds
|
||||
if (typeof parameter_object.refresh_period != "undefined") {
|
||||
window.refresh_period = parameter_object.refresh_period;
|
||||
@ -3968,8 +3972,8 @@ function draw_elements_graph() {
|
||||
|
||||
var font_size = node_radius / 1.5;
|
||||
|
||||
if (self.font_size) {
|
||||
font_size = self.font_size;
|
||||
if (typeof window.font_size != "undefined") {
|
||||
font_size = window.font_size;
|
||||
}
|
||||
|
||||
node_temp
|
||||
|
Loading…
x
Reference in New Issue
Block a user