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');
};
WebApp.close = function () {
if (WebApp.isClosingConfirmationEnabled) {
WebApp.isClosingConfirmationEnabled = false;
}
WebView.postEvent('web_app_close');
};

View file

@ -9,7 +9,7 @@
<meta name="MobileOptimized" content="176" />
<meta name="HandheldFriendly" content="True" />
<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>
function setThemeClass() {
document.documentElement.className = Telegram.WebApp.colorScheme;

View file

@ -8,7 +8,7 @@
<meta name="MobileOptimized" content="176" />
<meta name="HandheldFriendly" content="True" />
<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>
function setThemeClass() {
document.documentElement.className = Telegram.WebApp.colorScheme;