mirror of
https://github.com/ha7ilm/openwebrx.git
synced 2026-04-19 21:33:44 +00:00
fix callsign highlight on map for mobile / portable calls
This commit is contained in:
parent
e917b920c8
commit
c59c5b76d8
3 changed files with 3 additions and 3 deletions
|
|
@ -186,7 +186,7 @@ PacketMessagePanel.prototype.pushMessage = function(msg) {
|
|||
'style="' + stylesToString(styles) + '"'
|
||||
].join(' ');
|
||||
if (msg.lat && msg.lon) {
|
||||
link = '<a ' + attrs + ' href="map?callsign=' + source + '" target="openwebrx-map">' + overlay + '</a>';
|
||||
link = '<a ' + attrs + ' href="map?callsign=' + encodeURIComponent(source) + '" target="openwebrx-map">' + overlay + '</a>';
|
||||
} else {
|
||||
link = '<div ' + attrs + '>' + overlay + '</div>'
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue