We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 72dcf4b commit 970eaa9Copy full SHA for 970eaa9
js/tracker.js
@@ -2591,7 +2591,7 @@ function addPosition(position) {
2591
2592
var search_matches = vehicle.positions_ts.filter(searchPositions)
2593
2594
- if (search_matches.length > 0 && search_matches[search_matches.length-1] >= search_ts - 5000 && vehicle.positions.length >= search_matches.length) {
+ if (search_matches.length > 0 && search_matches[search_matches.length-1] >= search_ts - 5000) {
2595
var search_match = search_matches[search_matches.length-1]
2596
var dtt = (curr_ts - search_match) / 1000;
2597
0 commit comments