Update content of files

This commit is contained in:
GitHub Action 2024-04-02 16:51:55 +00:00
parent f88b27f65f
commit f3924e4c0a
5 changed files with 19 additions and 19 deletions

View file

@ -22,7 +22,7 @@
<link href="//telegram.org/css/bootstrap.min.css?3" rel="stylesheet">
<link href="//telegram.org/css/bootstrap-extra.css?2" rel="stylesheet">
<link href="/css/telegram.css?236" rel="stylesheet">
<link href="/css/widget-frame.css?66" rel="stylesheet">
<link href="/css/widget-frame.css?67" rel="stylesheet">
<link href="/css/promote.css?84" rel="stylesheet">
<link href="/css/jquery-ui.min.css?1" rel="stylesheet">
<link href="/css/tchart.min.css?10" rel="stylesheet">
@ -127,14 +127,14 @@
<script src="//telegram.org/js/main-aj.js?68"></script>
<script src="/js/main.js?47"></script>
<script src="/js/widget-frame.js?62"></script>
<script src="/js/promote.js?80"></script>
<script src="/js/promote.js?81"></script>
<script src="/js/jquery-ui.min.js?1"></script>
<script src="/js/jquery-ex.js?18"></script>
<script src="/js/tchart.min.js?18"></script>
<script src="/js/health.js?19"></script>
<script src="/js/tgsticker.js?31"></script>
<script>ajInit({"version":983,"apiUrl":"\/api?hash=telegram-crawler","unauth":true});</script>
<script>ajInit({"version":985,"apiUrl":"\/api?hash=telegram-crawler","unauth":true});</script>
<script id="aj_script">l.add({"WEB_AB_WARNING_HEADER":"Turn off ad blocker","WEB_POPUP_CLOSE_BTN":"Close","WEB_AB_WARNING_TEXT":"You appear to be using an ad blocker that may prevent pages on the Telegram Ad Platform from working as expected.<br\/><br\/>Please turn off your ad blocker or add <a href=\"http:\/\/promote.telegram.org\/\">promote.telegram.org<\/a> as an exception to manage your promoted messages."});
Ads.init();
Aj.onLoad(function(state) {

View file

@ -22,7 +22,7 @@
<link href="//telegram.org/css/bootstrap.min.css?3" rel="stylesheet">
<link href="//telegram.org/css/bootstrap-extra.css?2" rel="stylesheet">
<link href="/css/telegram.css?236" rel="stylesheet">
<link href="/css/widget-frame.css?66" rel="stylesheet">
<link href="/css/widget-frame.css?67" rel="stylesheet">
<link href="/css/promote.css?84" rel="stylesheet">
<link href="/css/jquery-ui.min.css?1" rel="stylesheet">
<link href="/css/tchart.min.css?10" rel="stylesheet">
@ -127,14 +127,14 @@
<script src="//telegram.org/js/main-aj.js?68"></script>
<script src="/js/main.js?47"></script>
<script src="/js/widget-frame.js?62"></script>
<script src="/js/promote.js?80"></script>
<script src="/js/promote.js?81"></script>
<script src="/js/jquery-ui.min.js?1"></script>
<script src="/js/jquery-ex.js?18"></script>
<script src="/js/tchart.min.js?18"></script>
<script src="/js/health.js?19"></script>
<script src="/js/tgsticker.js?31"></script>
<script>ajInit({"version":983,"apiUrl":"\/api?hash=telegram-crawler","unauth":true});</script>
<script>ajInit({"version":985,"apiUrl":"\/api?hash=telegram-crawler","unauth":true});</script>
<script id="aj_script">l.add({"WEB_AB_WARNING_HEADER":"Turn off ad blocker","WEB_POPUP_CLOSE_BTN":"Close","WEB_AB_WARNING_TEXT":"You appear to be using an ad blocker that may prevent pages on the Telegram Ad Platform from working as expected.<br\/><br\/>Please turn off your ad blocker or add <a href=\"http:\/\/promote.telegram.org\/\">promote.telegram.org<\/a> as an exception to manage your promoted messages."});
openPopup('#login-popup-container');
Ads.init();

View file

@ -22,7 +22,7 @@
<link href="//telegram.org/css/bootstrap.min.css?3" rel="stylesheet">
<link href="//telegram.org/css/bootstrap-extra.css?2" rel="stylesheet">
<link href="/css/telegram.css?236" rel="stylesheet">
<link href="/css/widget-frame.css?66" rel="stylesheet">
<link href="/css/widget-frame.css?67" rel="stylesheet">
<link href="/css/promote.css?84" rel="stylesheet">
<link href="/css/jquery-ui.min.css?1" rel="stylesheet">
<link href="/css/tchart.min.css?10" rel="stylesheet">
@ -127,14 +127,14 @@
<script src="//telegram.org/js/main-aj.js?68"></script>
<script src="/js/main.js?47"></script>
<script src="/js/widget-frame.js?62"></script>
<script src="/js/promote.js?80"></script>
<script src="/js/promote.js?81"></script>
<script src="/js/jquery-ui.min.js?1"></script>
<script src="/js/jquery-ex.js?18"></script>
<script src="/js/tchart.min.js?18"></script>
<script src="/js/health.js?19"></script>
<script src="/js/tgsticker.js?31"></script>
<script>ajInit({"version":983,"apiUrl":"\/api?hash=telegram-crawler","unauth":true});</script>
<script>ajInit({"version":985,"apiUrl":"\/api?hash=telegram-crawler","unauth":true});</script>
<script id="aj_script">l.add({"WEB_AB_WARNING_HEADER":"Turn off ad blocker","WEB_POPUP_CLOSE_BTN":"Close","WEB_AB_WARNING_TEXT":"You appear to be using an ad blocker that may prevent pages on the Telegram Ad Platform from working as expected.<br\/><br\/>Please turn off your ad blocker or add <a href=\"http:\/\/promote.telegram.org\/\">promote.telegram.org<\/a> as an exception to manage your promoted messages."});
Ads.init();
Aj.onLoad(function(state) {

View file

@ -301,14 +301,17 @@ tg-emoji {
background: none !important;
}
tg-emoji span.tg-emoji-wrap {
--size: calc(1.25em + 1px);
position: absolute;
display: inline-block;
width: 1.5em;
height: 1.5em;
margin-right: -1.5em;
width: var(--size);
height: var(--size);
margin-right: calc(-1 * var(--size));
vertical-align: top;
background: no-repeat 2px 50%;
background-size: 1.25em 1.25em;
transform: translateX(-0.125em) translateY(calc(1px - 0.125em));
transform: translateX(calc(1px - 0.125em)) translateY(calc(1px - 0.125em));
pointer-events: none;
-webkit-user-select: none;
-moz-user-select: none;

View file

@ -405,12 +405,9 @@ var Ads = {
}
},
updateAdMessagePreviews: function(cont) {
$('.pr-review-ad-preview .tgme_widget_message_text tg-emoji', cont).each(function() {
$('.pr-review-ad-preview .js-preview-text tg-emoji', cont).each(function() {
TEmoji.init(this);
});
$('.pr-review-ad-preview .tgme_widget_message_footer', cont).each(function() {
Ads.updateTextShadow(this, '.js-message_text', '.js-message_info');
});
},
initSelect: function($form, field, options) {
var $selectEl = $form.field(field);
@ -1195,7 +1192,7 @@ var NewAd = {
$('.js-preview-button', $previewPopup).html(previewData.button);
$('.js-preview-button', $previewPopup).attr('href', uncleanHTML(previewData.button_url));
$('.js-preview-footer', $previewPopup).each(function() {
Ads.updateTextShadow(this, '.ad-msg-text', '.label', 10);
Ads.updateTextShadow(this, '.js-preview-text', '.label', 10);
});
$('.js-picture-label', $previewPopup).html(previewData.picture_label);
$('.js-picture-hint', $previewPopup).html(previewData.picture_hint);
@ -1340,7 +1337,7 @@ var NewAd = {
$cancelBtn.on('click', previewCancel);
$previewPopup.one('popup:open', function() {
$('.pr-preview-ad-message .ad-msg-date', $previewPopup).each(function() {
Ads.updateTextShadow(this, '.ad-msg-text', '.label', 10);
Ads.updateTextShadow(this, '.js-preview-text', '.label', 10);
});
state.previewTextField.updateAutosize();
state.initPreviewFormData = NewAd.getPreviewFormData();