diff --git a/js/server_status_monitor.js b/js/server_status_monitor.js index 1e9313c066..9dabf0b77d 100644 --- a/js/server_status_monitor.js +++ b/js/server_status_monitor.js @@ -1119,8 +1119,9 @@ $(function() { }); $('#gridchart' + runtime.chartAI).bind('jqplotMouseUp', function(ev, gridpos, datapos, neighbor, plot) { - if(! drawTimeSpan) + if(! drawTimeSpan) { return; + } selectionTimeDiff.push(datapos.xaxis); @@ -1164,8 +1165,9 @@ $(function() { $('#tooltip_box').html(s); } - if(! drawTimeSpan) + if(! drawTimeSpan) { return; + } if (selectionStartX != undefined) { $('#selection_box')