fix DPRS parsing and display

This commit is contained in:
Jakob Ketterl
2021-06-11 14:36:11 +02:00
parent 455b2ce1f1
commit e9b2007863
2 changed files with 8 additions and 9 deletions

View File

@ -234,7 +234,7 @@ DStarMetaPanel.prototype.setLocation = function(lat, lon, callsign) {
if (hasLocation) {
html = '<a class="openwebrx-maps-pin" href="map?callsign=' + encodeURIComponent(callsign) + '" target="_blank"><svg viewBox="0 0 20 35"><use xlink:href="static/gfx/svg-defs.svg#maps-pin"></use></svg></a>';
}
this.el.find('.openwebrx-dstar-source .location').html(html);
this.el.find('.openwebrx-dstar-ourcall .location').html(html);
};
MetaPanel.types = {