From e3cb2eb46ad617da62d2b1cb85f75e29d3cd9713 Mon Sep 17 00:00:00 2001 From: DJ2LS <75909252+DJ2LS@users.noreply.github.com> Date: Wed, 28 Jul 2021 18:55:12 +0200 Subject: [PATCH] attempt with SNR in Ping window --- gui/preload-data.js | 2 +- gui/preload-main.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/gui/preload-data.js b/gui/preload-data.js index c03c734f..4d741877 100644 --- a/gui/preload-data.js +++ b/gui/preload-data.js @@ -33,7 +33,7 @@ window.addEventListener('DOMContentLoaded', () => { filetype: 'txt', filename: 'testfile', data: '1234567', - crc: '123123123', + checksum: '123123123', }; ipcRenderer.send('run-tnc-command', Data); diff --git a/gui/preload-main.js b/gui/preload-main.js index 7d5cf82d..ce34113f 100644 --- a/gui/preload-main.js +++ b/gui/preload-main.js @@ -307,8 +307,8 @@ for (i = 0; i < arg.stations.length; i++) { // first we update the PING window console.log(document.getElementById("dxCall").value) if (arg.stations[i]['DXCALLSIGN'] == document.getElementById("dxCall").value){ -document.getElementById("pingDistance") = arg.stations[i]['DXGRID'] -document.getElementById("pingDB") = arg.stations[i]['SNR'] +document.getElementById("pingDistance").innerHTML = arg.stations[i]['DXGRID'] +document.getElementById("pingDB").innerHTML = arg.stations[i]['SNR'] }