mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 08:45:12 +02:00
Removed unused code which was causing an error
This commit is contained in:
parent
568484cf6e
commit
f5304af062
@ -2342,8 +2342,6 @@ function pandoraFlotArea( graph_id, values, legend,
|
|||||||
// Add bottom margin in the legend
|
// Add bottom margin in the legend
|
||||||
// Estimated height of 24 (works fine with this data in all browsers)
|
// Estimated height of 24 (works fine with this data in all browsers)
|
||||||
menu_height = 24;
|
menu_height = 24;
|
||||||
var legend_margin_bottom = parseInt(
|
|
||||||
$('#legend_'+graph_id).css('margin-bottom').split('px')[0]);
|
|
||||||
$('#legend_'+graph_id).css('margin-bottom', '10px');
|
$('#legend_'+graph_id).css('margin-bottom', '10px');
|
||||||
parent_height = parseInt($('#menu_'+graph_id).parent().css('height').split('px')[0]);
|
parent_height = parseInt($('#menu_'+graph_id).parent().css('height').split('px')[0]);
|
||||||
adjust_menu(graph_id, plot, parent_height, width, show_legend);
|
adjust_menu(graph_id, plot, parent_height, width, show_legend);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user