Update content of files

This commit is contained in:
GitHub Action 2022-04-26 15:55:34 +00:00
parent 937ce8c7b1
commit a265c8f38d
3 changed files with 3 additions and 3 deletions

View file

@ -754,7 +754,7 @@
var path_full = a.pathname + a.search;
if (WebApp.isIframe ||
versionAtLeast('1.1')) {
WebView.postEvent('open_tg_link', false, {path_full: path_full});
WebView.postEvent('web_app_open_tg_link', false, {path_full: path_full});
} else {
location.href = 'https://t.me' + path_full;
}

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?5"></script>
<script src="https://tg.dev/js/telegram-web-app.js?6"></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://telegram.org/js/telegram-web-app.js?5"></script>
<script src="https://telegram.org/js/telegram-web-app.js?6"></script>
<script>
function setThemeClass() {
document.documentElement.className = Telegram.WebApp.colorScheme;