diff --git a/js/diagrams.js b/js/diagrams.js index 417baf3..a903dd5 100644 --- a/js/diagrams.js +++ b/js/diagrams.js @@ -521,7 +521,7 @@ function createLineGraph(containerId, raceData){ break; } _lap--; - if(_lap < 0) break; + if(_lap <= 0) break; } }else{ if(raceData.lapTimes.get(lapNr)[pos-1]){