Removed unused code which was causing an error

This commit is contained in:
Alejandro Gallardo Escobar 2018-08-02 14:59:56 +02:00
parent 568484cf6e
commit f5304af062
1 changed files with 0 additions and 2 deletions

View File

@ -2342,8 +2342,6 @@ function pandoraFlotArea( graph_id, values, legend,
// Add bottom margin in the legend
// Estimated height of 24 (works fine with this data in all browsers)
menu_height = 24;
var legend_margin_bottom = parseInt(
$('#legend_'+graph_id).css('margin-bottom').split('px')[0]);
$('#legend_'+graph_id).css('margin-bottom', '10px');
parent_height = parseInt($('#menu_'+graph_id).parent().css('height').split('px')[0]);
adjust_menu(graph_id, plot, parent_height, width, show_legend);