debug
This commit is contained in:
parent
db530979a2
commit
6bc4bc72d2
@ -2,8 +2,8 @@ document.addEventListener("DOMContentLoaded", () => {
|
|||||||
let tg = window.Telegram.WebAppUser;
|
let tg = window.Telegram.WebAppUser;
|
||||||
let username_tag = document.getElementById("username_tag")
|
let username_tag = document.getElementById("username_tag")
|
||||||
let user_id_tag = document.getElementById("user_id_tag")
|
let user_id_tag = document.getElementById("user_id_tag")
|
||||||
|
username_tag.innerHTML = tg.initDataUnsafe.user.username;
|
||||||
user_id_tag.innerHTML = tg.initDataUnsafe.user.language_code;
|
user_id_tag.innerHTML = tg.initDataUnsafe.user.id;
|
||||||
|
|
||||||
console.log(123)
|
console.log(123)
|
||||||
});
|
});
|
Loading…
x
Reference in New Issue
Block a user