Skip to content

Commit 553c08a

Browse files
committed
fix off by 1 error
1 parent 92ff630 commit 553c08a

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
@@ -3646,7 +3646,7 @@ function addPosition(position) {
36463646
// When a color is changed in the settings, run recolorVehicle on all vehicles.
36473647
function recolorAllVehicles(){
36483648
// Refresh the balloon_colors array to capture all the current colors
3649-
for (var i = 0; i <= balloon_colors.length; i++) {
3649+
for (var i = 0; i < balloon_colors.length; i++) {
36503650
balloon_colors[i] = document.getElementById("color" + i).value;
36513651
}
36523652
var callsign;

0 commit comments

Comments
 (0)