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'] }