mirror of
https://github.com/DJ2LS/FreeDATA
synced 2024-05-14 08:04:33 +00:00
Prettified Code!
This commit is contained in:
parent
cdb7315bbf
commit
9b72ac9de8
|
@ -270,8 +270,7 @@ window.addEventListener("DOMContentLoaded", () => {
|
||||||
textarea.rows = lines;
|
textarea.rows = lines;
|
||||||
|
|
||||||
console.log(textarea.value);
|
console.log(textarea.value);
|
||||||
if (lastIsWritingBroadcast < new Date().getTime() - (5*1000))
|
if (lastIsWritingBroadcast < new Date().getTime() - 5 * 1000) {
|
||||||
{
|
|
||||||
//console.log("Sending FECIsWriting");
|
//console.log("Sending FECIsWriting");
|
||||||
ipcRenderer.send("tnc-fec-iswriting");
|
ipcRenderer.send("tnc-fec-iswriting");
|
||||||
lastIsWritingBroadcast = new Date().getTime();
|
lastIsWritingBroadcast = new Date().getTime();
|
||||||
|
|
|
@ -2431,7 +2431,7 @@ ipcRenderer.on("action-update-rx-buffer", (event, arg) => {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
ipcRenderer.on('run-tnc-command-fec-iswriting',(event) => {
|
ipcRenderer.on("run-tnc-command-fec-iswriting", (event) => {
|
||||||
//console.log("Sending sendFecIsWriting");
|
//console.log("Sending sendFecIsWriting");
|
||||||
sock.sendFecIsWriting(config.mycall);
|
sock.sendFecIsWriting(config.mycall);
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue