Fix case on flag path

This commit is contained in:
Herbert Wolverson 2024-07-27 10:50:55 -05:00
parent 7b14dc1276
commit eebc6372e4

View File

@ -148,7 +148,7 @@ function renderAsn(asn, data) {
}
// Build the heading
heading.innerHTML = "<img alt='" + targetCountry.iso_code + "' src='flags/" + targetCountry.iso_code + ".svg' height=32 width=32 />" + targetCountry.name;
heading.innerHTML = "<img alt='" + targetCountry.iso_code + "' src='flags/" + targetCountry.iso_code.toLowerCase() + ".svg' height=32 width=32 />" + targetCountry.name;
}
let target = document.getElementById("asnDetails");