Skip to content

Commit 970eaa9

Browse files
committed
fix
1 parent 72dcf4b commit 970eaa9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

js/tracker.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2591,7 +2591,7 @@ function addPosition(position) {
25912591

25922592
var search_matches = vehicle.positions_ts.filter(searchPositions)
25932593

2594-
if (search_matches.length > 0 && search_matches[search_matches.length-1] >= search_ts - 5000 && vehicle.positions.length >= search_matches.length) {
2594+
if (search_matches.length > 0 && search_matches[search_matches.length-1] >= search_ts - 5000) {
25952595
var search_match = search_matches[search_matches.length-1]
25962596
var dtt = (curr_ts - search_match) / 1000;
25972597

0 commit comments

Comments
 (0)