Skip to content

Commit ba6f4e6

Browse files
removed 'recieved by' from chase cars; fix #55
1 parent 56e9eed commit ba6f4e6

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

js/tracker.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1224,8 +1224,10 @@ var mapInfoBox_handle_path_fetch = function(id,vehicle) {
12241224
html += habitat_data(data.data, true);
12251225
}
12261226

1227-
html += "<hr style='margin:0px;margin-top:5px'>";
1228-
html += "<div style='font-size:11px;'><b>Received by:&nbsp;</b>"+data.callsign.replace(/,/g,', ')+"</div>";
1227+
if(data.vehicle.search(/(chase)/i) == -1) {
1228+
html += "<hr style='margin:0px;margin-top:5px'>";
1229+
html += "<div style='font-size:11px;'><b>Received by:&nbsp;</b>"+data.callsign.replace(/,/g,', ')+"</div>";
1230+
}
12291231

12301232
div.innerHTML = html;
12311233

0 commit comments

Comments
 (0)