Skip to content

Commit

Permalink
Update script.js
Browse files Browse the repository at this point in the history
  • Loading branch information
spbRusty authored Aug 26, 2024
1 parent e6769cc commit f0f180c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion script.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ function resetGame() {
startNextRound();
}

document.getElementById('donate-button').onclick = function() {
document.getElementById('next-round-button').onclick = function() {
// Используем Telegram Web Apps API для взаимодействия с ботом
Telegram.WebApp.sendData('/pay'); // Отправляем команду на донат
};
Expand Down

0 comments on commit f0f180c

Please sign in to comment.