Merge pull request #1003 from int2001/call_cat_fix

Call CAT first, even if QSO-Window doesn't exist (yet)
This commit is contained in:
Joerg (DJ7NT)
2024-09-27 12:51:18 +02:00
committed by GitHub

View File

@@ -200,11 +200,13 @@ $(function() {
} else {
qrg=this.parentNode.parentNode.cells[1].textContent*1000;
}
try {
irrelevant=fetch('http://127.0.0.1:54321/'+qrg);
} finally {}
if (Date.now()-qso_window_last_seen < 2000) {
bc2qso.postMessage({ frequency: qrg, call: call });
try {
irrelevant=fetch('http://127.0.0.1:54321/'+qrg);
} finally {}
} else {
let cl={};
cl.call=call;