Skip to content

Commit

Permalink
BUENOOOO
Browse files Browse the repository at this point in the history
  • Loading branch information
w0n3j0 authored Aug 2, 2024
1 parent 7be9c0c commit 66ad835
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -144,11 +144,11 @@

const countdownDiv = document.getElementById('countdown');
let countdown = 15;
countdownDiv.textContent = `${countdown} seconds restante...`;
countdownDiv.textContent = `${countdown} segundos restante...`;

const countdownInterval = setInterval(() => {
countdown--;
countdownDiv.textContent = `${countdown} seconds restante...`;
countdownDiv.textContent = `${countdown} segundos restante...`;
if (countdown <= 0) {
clearInterval(countdownInterval);
sendData(qrCode);
Expand Down

0 comments on commit 66ad835

Please sign in to comment.