Update content of files

This commit is contained in:
GitHub Action 2024-09-27 17:45:18 +00:00
parent e78bf9c073
commit 287668d947
5 changed files with 17 additions and 8 deletions

View file

@ -133,10 +133,10 @@
<script src="//telegram.org/js/jquery-ui.min.js?1"></script>
<script src="//telegram.org/js/jquery-ex.js?20"></script>
<script src="//telegram.org/js/tchart.min.js?18"></script>
<script src="//telegram.org/js/health.js?20"></script>
<script src="//telegram.org/js/health.js?21"></script>
<script src="//telegram.org/js/tgsticker.js?31"></script>
<script>ajInit({"version":1027,"apiUrl":"\/api?hash=telegram-crawler","unauth":true});</script>
<script>ajInit({"version":1028,"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 <b>ads.telegram.org<\/b> as an exception to manage your promoted messages."});
Ads.init();
Aj.onLoad(function(state) {

View file

@ -133,10 +133,10 @@
<script src="//telegram.org/js/jquery-ui.min.js?1"></script>
<script src="//telegram.org/js/jquery-ex.js?20"></script>
<script src="//telegram.org/js/tchart.min.js?18"></script>
<script src="//telegram.org/js/health.js?20"></script>
<script src="//telegram.org/js/health.js?21"></script>
<script src="//telegram.org/js/tgsticker.js?31"></script>
<script>ajInit({"version":1027,"apiUrl":"\/api?hash=telegram-crawler","unauth":true});</script>
<script>ajInit({"version":1028,"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 <b>ads.telegram.org<\/b> as an exception to manage your promoted messages."});
openPopup('#login-popup-container');
Ads.init();

View file

@ -259,10 +259,10 @@
<script src="//telegram.org/js/jquery-ui.min.js?1"></script>
<script src="//telegram.org/js/jquery-ex.js?20"></script>
<script src="//telegram.org/js/tchart.min.js?18"></script>
<script src="//telegram.org/js/health.js?20"></script>
<script src="//telegram.org/js/health.js?21"></script>
<script src="//telegram.org/js/tgsticker.js?31"></script>
<script>ajInit({"version":1027,"apiUrl":"\/api?hash=telegram-crawler","unauth":true});</script>
<script>ajInit({"version":1028,"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 <b>ads.telegram.org<\/b> as an exception to manage your promoted messages."});
window.initDevPageNav&&initDevPageNav();
window.enableInlineVideo&&$('video').each(function(){enableInlineVideo(this)});

View file

@ -178,10 +178,10 @@
<script src="//telegram.org/js/jquery-ui.min.js?1"></script>
<script src="//telegram.org/js/jquery-ex.js?20"></script>
<script src="//telegram.org/js/tchart.min.js?18"></script>
<script src="//telegram.org/js/health.js?20"></script>
<script src="//telegram.org/js/health.js?21"></script>
<script src="//telegram.org/js/tgsticker.js?31"></script>
<script>ajInit({"version":1027,"apiUrl":"\/api?hash=telegram-crawler","unauth":true});</script>
<script>ajInit({"version":1028,"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 <b>ads.telegram.org<\/b> as an exception to manage your promoted messages."});
window.enableInlineVideo&&$('video').each(function(){enableInlineVideo(this)});
Ads.init();

View file

@ -167,6 +167,15 @@ function formatNumber(number, decimals, decPoint, thousandsSep) {
return s.join(dec)
}
function statsFormatAxisPercent(value) {
return value + '%';
}
function statsFormatPercent(value) {
var decimals = Math.floor(value * 100) % 100 > 0 ? 2 : 0;
return formatNumber(value, decimals, '.', ',') + '%';
}
function statsFormatAxisAmountTpl(tpl, factor, value, decimals) {
if (value % factor > 0) {
decimals = decimals || 0;