mirror of
https://github.com/MarshalX/telegram-crawler.git
synced 2024-12-26 06:20:27 +01:00
Update content of files
This commit is contained in:
parent
e2d725c2b3
commit
4efaf918af
4 changed files with 5 additions and 5 deletions
|
@ -258,7 +258,7 @@
|
|||
var WebApp = {};
|
||||
var webAppInitData = '', webAppInitDataUnsafe = {};
|
||||
var themeParams = {}, colorScheme = 'light';
|
||||
var webAppVersion = '1.0';
|
||||
var webAppVersion = '6.0';
|
||||
|
||||
if (initParams.tgWebAppData && initParams.tgWebAppData.length) {
|
||||
webAppInitData = initParams.tgWebAppData;
|
||||
|
|
|
@ -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?8"></script>
|
||||
<script src="https://tg.dev/js/telegram-web-app.js?9"></script>
|
||||
<script>
|
||||
function setThemeClass() {
|
||||
document.documentElement.className = Telegram.WebApp.colorScheme;
|
||||
|
@ -441,7 +441,7 @@
|
|||
</div>
|
||||
<script src="https://tg.dev/js/jquery.min.js"></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>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -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?8"></script>
|
||||
<script src="https://telegram.org/js/telegram-web-app.js?9"></script>
|
||||
<script>
|
||||
function setThemeClass() {
|
||||
document.documentElement.className = Telegram.WebApp.colorScheme;
|
||||
|
|
|
@ -259,7 +259,7 @@ var Cafe = {
|
|||
params.user_id = Cafe.userId;
|
||||
params.user_hash = Cafe.userHash;
|
||||
}
|
||||
var invoiceSupported = Telegram.WebApp.isVersionAtLeast('1.1');
|
||||
var invoiceSupported = Telegram.WebApp.isVersionAtLeast('6.1');
|
||||
if (invoiceSupported) {
|
||||
params.invoice = 1;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue