Update content of files

This commit is contained in:
GitHub Action 2022-05-13 18:59:19 +00:00
parent e2d725c2b3
commit 4efaf918af
4 changed files with 5 additions and 5 deletions

View file

@ -258,7 +258,7 @@
var WebApp = {}; var WebApp = {};
var webAppInitData = '', webAppInitDataUnsafe = {}; var webAppInitData = '', webAppInitDataUnsafe = {};
var themeParams = {}, colorScheme = 'light'; var themeParams = {}, colorScheme = 'light';
var webAppVersion = '1.0'; var webAppVersion = '6.0';
if (initParams.tgWebAppData && initParams.tgWebAppData.length) { if (initParams.tgWebAppData && initParams.tgWebAppData.length) {
webAppInitData = initParams.tgWebAppData; webAppInitData = initParams.tgWebAppData;

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?8"></script> <script src="https://tg.dev/js/telegram-web-app.js?9"></script>
<script> <script>
function setThemeClass() { function setThemeClass() {
document.documentElement.className = Telegram.WebApp.colorScheme; document.documentElement.className = Telegram.WebApp.colorScheme;
@ -441,7 +441,7 @@
</div> </div>
<script src="https://tg.dev/js/jquery.min.js"></script> <script src="https://tg.dev/js/jquery.min.js"></script>
<script src="https://tg.dev/js/tgsticker.js?27"></script> <script src="https://tg.dev/js/tgsticker.js?27"></script>
<script src="/js/cafe.js?18"></script> <script src="/js/cafe.js?19"></script>
<script>Cafe.init({"apiUrl":"\/cafe\/api","userId":0,"userHash":null});</script> <script>Cafe.init({"apiUrl":"\/cafe\/api","userId":0,"userHash":null});</script>
</body> </body>
</html> </html>

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

View file

@ -259,7 +259,7 @@ var Cafe = {
params.user_id = Cafe.userId; params.user_id = Cafe.userId;
params.user_hash = Cafe.userHash; params.user_hash = Cafe.userHash;
} }
var invoiceSupported = Telegram.WebApp.isVersionAtLeast('1.1'); var invoiceSupported = Telegram.WebApp.isVersionAtLeast('6.1');
if (invoiceSupported) { if (invoiceSupported) {
params.invoice = 1; params.invoice = 1;
} }