From be2d31ad2f7c490eee74e9075fc50ed9ef01c1ae Mon Sep 17 00:00:00 2001 From: Quentin Santos Date: Mon, 7 Oct 2024 22:59:22 +0200 Subject: [PATCH] Use your-report and your-number --- src/contest.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/contest.js b/src/contest.js index 36ed0bf..0a57b47 100644 --- a/src/contest.js +++ b/src/contest.js @@ -39,10 +39,12 @@ function cq() { } function repeatCallSign() { - const callSign = document.getElementById("their-call-sign").value; - sendMorse('You', callSign); + const theirCallSign = document.getElementById("their-call-sign").value; + sendMorse('You', theirCallSign); } function sendReport() { - sendMorse('You', `599 001`); + const yourReport = document.getElementById("your-report").value; + const yourNumber = document.getElementById("your-number").value; + sendMorse('You', `${yourReport} ${yourNumber}`); }