Skip to content

Commit

Permalink
Use your-report and your-number
Browse files Browse the repository at this point in the history
  • Loading branch information
qsantos committed Oct 7, 2024
1 parent e7e20be commit be2d31a
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/contest.js
Original file line number Diff line number Diff line change
Expand Up @@ -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}`);
}

0 comments on commit be2d31a

Please sign in to comment.