From 3d5869d140255f0fcf7a2857d9a4b94a2eb7d068 Mon Sep 17 00:00:00 2001 From: Kavalar Date: Sat, 4 Jan 2025 01:38:59 +0300 Subject: [PATCH] debug --- resources/main/js/tg.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/resources/main/js/tg.js b/resources/main/js/tg.js index 2edb3ce..840aae9 100644 --- a/resources/main/js/tg.js +++ b/resources/main/js/tg.js @@ -2,4 +2,6 @@ document.addEventListener("DOMContentLoaded", () => { let tg = window.Telegram.WebApp; let username_tag = document.getElementById("username_tag") username_tag.innerHTML = tg.initDataUnsafe.user.username; + + console.log(tg) }); \ No newline at end of file