mirror of
https://github.com/MarshalX/telegram-crawler.git
synced 2024-12-28 23:38:26 +01:00
Update content of files
This commit is contained in:
parent
538b55a776
commit
daa4e3494c
1 changed files with 2 additions and 2 deletions
|
@ -303,7 +303,7 @@
|
|||
onEvent('main_button_pressed', onMainButtonPressed);
|
||||
|
||||
var debugBtn = null, debugBodyBottom, debugBtnStyle = {};
|
||||
if (initParams.tgDebug) {
|
||||
if (initParams.tgWebAppDebug) {
|
||||
debugBtn = document.createElement('tg-main-button');
|
||||
debugBtnStyle = {
|
||||
font: '600 14px/18px sans-serif',
|
||||
|
@ -351,7 +351,7 @@
|
|||
color: color,
|
||||
text_color: text_color
|
||||
} : {is_visible: false});
|
||||
if (initParams.tgDebug) {
|
||||
if (initParams.tgWebAppDebug) {
|
||||
debugBtn.style.display = isVisible ? 'block' : 'none';
|
||||
debugBtn.style.opacity = isActive ? '1' : '0.8';
|
||||
debugBtn.style.cursor = isActive ? 'pointer' : 'auto';
|
||||
|
|
Loading…
Reference in a new issue