Don´t show line indication on traffic message

This commit is contained in:
nemunaire 2023-07-14 11:28:04 +00:00
parent 350561b12f
commit fb9bd6c407

2
app.js
View File

@ -82,7 +82,7 @@ function getTraffic(type, code) {
} }
$.getJSON( BASE_API + "/traffic/" + type + "/" + code, function( data ) { $.getJSON( BASE_API + "/traffic/" + type + "/" + code, function( data ) {
$("#traffic h3").text(data["result"]["line"] + " : " + data["result"]["title"]); $("#traffic h3").text(data["result"]["title"]);
$("#traffic p").html(data["result"]["message"]); $("#traffic p").html(data["result"]["message"]);
$("#traffic").show(); $("#traffic").show();