Skip to content

Commit 329ca27

Browse files
authored
Update index.html
1 parent 4be27f8 commit 329ca27

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

index.html

+2-4
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,10 @@
33
<title>TWA</title>
44
<meta charset="UTF-8">
55
<script src="https://telegram.org/js/telegram-web-app.js"></script>
6-
</head>
7-
<body>
86
<script>
97
Telegram.Webapp.ready();
10-
window.Telegram.WebApp.showAlert('Hello world!');
11-
Telegram.Webapp.enableClosingConfirmation();
128
</script>
9+
</head>
10+
<body onload="window.Telegram.WebApp.showAlert('Hello world!')">
1311
</body>
1412
</html>

0 commit comments

Comments
 (0)