From ae3dfb4e327a336c9aa335368db47a63428a1fea Mon Sep 17 00:00:00 2001 From: int2001 Date: Thu, 26 Sep 2024 14:58:14 +0000 Subject: [PATCH] Call CAT first, even if QSO-Window doesn't exist (yet) --- assets/js/sections/bandmap_list.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/assets/js/sections/bandmap_list.js b/assets/js/sections/bandmap_list.js index 4c60e12fa..431331bd3 100644 --- a/assets/js/sections/bandmap_list.js +++ b/assets/js/sections/bandmap_list.js @@ -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;