From 5bc5cd81c2929515da97799ce75f139bd24250f2 Mon Sep 17 00:00:00 2001 From: GitHub Action Date: Wed, 29 Jun 2022 21:55:45 +0000 Subject: [PATCH] Update content of files --- data/web/contest.com.html | 4 +- data/web/promote.telegram.org.html | 6 +- data/web/promote.telegram.org/auth.html | 6 +- data/web/promote.telegram.org/basics.html | 6 +- .../promote.telegram.org/css/widget-frame.css | 55 +- .../promote.telegram.org/getting-started.html | 6 +- data/web/promote.telegram.org/guidelines.html | 6 +- .../promote.telegram.org/js/widget-frame.js | 69 ++- data/web/promote.telegram.org/tos.html | 6 +- data/web/telegram.org.html | 2 +- data/web/telegram.org/api.html | 2 +- .../blog/700-million-and-premium.html | 2 +- .../blog/animated-backgrounds.html | 2 +- .../telegram.org/blog/autodelete-inv2.html | 2 +- ...hemes-interactive-emoji-read-receipts.html | 2 +- .../blog/downloads-attachments-streaming.html | 2 +- .../filters-anonymous-admins-comments.html | 2 +- .../telegram.org/blog/group-video-calls.html | 2 +- .../live-streams-forwarding-next-channel.html | 2 +- data/web/telegram.org/blog/move-history.html | 2 +- .../telegram.org/blog/notifications-bots.html | 2 +- .../payments-2-0-scheduled-voice-chats.html | 2 +- .../pinned-messages-locations-playlists.html | 2 +- .../world.html | 2 +- ...profile-videos-people-nearby-and-more.html | 2 +- ...ected-content-delete-by-date-and-more.html | 2 +- .../blog/reactions-spoilers-translations.html | 2 +- ...lling-calendar-join-requests-and-more.html | 2 +- data/web/telegram.org/blog/video-1000.html | 2 +- data/web/telegram.org/blog/video-calls.html | 2 +- .../blog/video-stickers-better-reactions.html | 2 +- .../blog/voice-chats-on-steroids.html | 2 +- data/web/telegram.org/blog/voice-chats.html | 2 +- data/web/telegram.org/js/tgsticker-worker.js | 11 +- data/web/telegram.org/js/tgsticker.js | 536 ++++++++++++++---- data/web/telegram.org/teststore.html | 2 +- .../what-can-you-do-with-Telegram.html | 2 +- data/web/webappcontent.telegram.org/cafe.html | 4 +- .../web/webappcontent.telegram.org/js/cafe.js | 10 +- 39 files changed, 603 insertions(+), 174 deletions(-) diff --git a/data/web/contest.com.html b/data/web/contest.com.html index 19ccfef30a..6f50950927 100644 --- a/data/web/contest.com.html +++ b/data/web/contest.com.html @@ -198,9 +198,9 @@ - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - - + + diff --git a/data/web/webappcontent.telegram.org/js/cafe.js b/data/web/webappcontent.telegram.org/js/cafe.js index 1ecbf33ad7..ca074a11ae 100644 --- a/data/web/webappcontent.telegram.org/js/cafe.js +++ b/data/web/webappcontent.telegram.org/js/cafe.js @@ -222,7 +222,7 @@ var Cafe = { if (mode_order) { var height = $('.cafe-items').height(); $('.js-item-lottie').each(function() { - RLottie.setVisible(this, false); + RLottie.pause(this); }); $('.cafe-order-overview').show(); $('.cafe-items').css('maxHeight', height).redraw(); @@ -231,22 +231,16 @@ var Cafe = { autosize.update(this); }); Telegram.WebApp.expand(); - setTimeout(function() { - $('.js-item-lottie').each(function() { - RLottie.setVisible(this, true); - }); - }, anim_duration); Telegram.WebApp.BackButton.show(); } else { $('.js-item-lottie').each(function() { - RLottie.setVisible(this, false); + RLottie.reset(this); }); $('body').removeClass('order-mode'); setTimeout(function() { $('.cafe-items').css('maxHeight', ''); $('.cafe-order-overview').hide(); $('.js-item-lottie').each(function() { - RLottie.setVisible(this, true); }); }, anim_duration); Telegram.WebApp.BackButton.hide();