Traffic message are now given as HTML

This commit is contained in:
nemunaire 2023-07-14 11:27:28 +00:00
parent 687eeed344
commit 350561b12f
1 changed files with 1 additions and 1 deletions

2
app.js
View File

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