Update content of files

This commit is contained in:
GitHub Action 2022-08-05 13:33:58 +00:00
parent 93dabeff6c
commit da6d780cc9
3 changed files with 5 additions and 2 deletions

View file

@ -1247,6 +1247,9 @@
WebView.postEvent('web_app_expand'); WebView.postEvent('web_app_expand');
}; };
WebApp.close = function () { WebApp.close = function () {
if (WebApp.isClosingConfirmationEnabled) {
WebApp.isClosingConfirmationEnabled = false;
}
WebView.postEvent('web_app_close'); WebView.postEvent('web_app_close');
}; };

View file

@ -9,7 +9,7 @@
<meta name="MobileOptimized" content="176" /> <meta name="MobileOptimized" content="176" />
<meta name="HandheldFriendly" content="True" /> <meta name="HandheldFriendly" content="True" />
<meta name="robots" content="noindex, nofollow" /> <meta name="robots" content="noindex, nofollow" />
<script src="https://tg.dev/js/telegram-web-app.js?22"></script> <script src="https://tg.dev/js/telegram-web-app.js?23"></script>
<script> <script>
function setThemeClass() { function setThemeClass() {
document.documentElement.className = Telegram.WebApp.colorScheme; document.documentElement.className = Telegram.WebApp.colorScheme;

View file

@ -8,7 +8,7 @@
<meta name="MobileOptimized" content="176" /> <meta name="MobileOptimized" content="176" />
<meta name="HandheldFriendly" content="True" /> <meta name="HandheldFriendly" content="True" />
<meta name="robots" content="noindex,nofollow" /> <meta name="robots" content="noindex,nofollow" />
<script src="https://tg.dev/js/telegram-web-app.js?22"></script> <script src="https://tg.dev/js/telegram-web-app.js?23"></script>
<script> <script>
function setThemeClass() { function setThemeClass() {
document.documentElement.className = Telegram.WebApp.colorScheme; document.documentElement.className = Telegram.WebApp.colorScheme;