Skip to content

Commit

Permalink
Update indextg.html
Browse files Browse the repository at this point in the history
  • Loading branch information
H21web authored Jun 26, 2024
1 parent 930afe5 commit e0852f4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion indextg.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
<button id="btn">Hide/Show Main Button</button>
<button id="btnED">Enable/Disable Main Button</button>
<div id="usercardshow"></div>

<script src="https://telegram.org/js/telegram-web-app.js"></script> <!-- Connect the Telegram script -->

<script>
window.addEventListener('DOMContentLoaded', (event) => {
let tg = window.Telegram.WebApp; // получаем объект webapp телеграма
Expand Down

0 comments on commit e0852f4

Please sign in to comment.