diff --git a/htdocs/openwebrx.js b/htdocs/openwebrx.js index 7a1619c..7e936a7 100644 --- a/htdocs/openwebrx.js +++ b/htdocs/openwebrx.js @@ -1379,13 +1379,14 @@ function update_wsjt_panel(msg) { var $b = $('#openwebrx-panel-wsjt-message tbody'); var t = new Date(msg['timestamp']); var pad = function(i) { return ('' + i).padStart(2, "0"); } + var linkedmsg = msg['msg'].replace(/(.*\s[A-Z0-9]+\s)([A-R]{2}[0-9]{2})$/, '$1$2'); $b.append($( '' + '' + pad(t.getUTCHours()) + pad(t.getUTCMinutes()) + pad(t.getUTCSeconds()) + '' + '' + msg['db'] + '' + '' + msg['dt'] + '' + '' + msg['freq'] + '' + - '' + msg['msg'] + '' + + '' + linkedmsg + '' + '' )); $b.scrollTop($b[0].scrollHeight);