mirror of
https://github.com/MarshalX/telegram-crawler.git
synced 2025-03-27 18:20:44 +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);
|
onEvent('main_button_pressed', onMainButtonPressed);
|
||||||
|
|
||||||
var debugBtn = null, debugBodyBottom, debugBtnStyle = {};
|
var debugBtn = null, debugBodyBottom, debugBtnStyle = {};
|
||||||
if (initParams.tgDebug) {
|
if (initParams.tgWebAppDebug) {
|
||||||
debugBtn = document.createElement('tg-main-button');
|
debugBtn = document.createElement('tg-main-button');
|
||||||
debugBtnStyle = {
|
debugBtnStyle = {
|
||||||
font: '600 14px/18px sans-serif',
|
font: '600 14px/18px sans-serif',
|
||||||
|
@ -351,7 +351,7 @@
|
||||||
color: color,
|
color: color,
|
||||||
text_color: text_color
|
text_color: text_color
|
||||||
} : {is_visible: false});
|
} : {is_visible: false});
|
||||||
if (initParams.tgDebug) {
|
if (initParams.tgWebAppDebug) {
|
||||||
debugBtn.style.display = isVisible ? 'block' : 'none';
|
debugBtn.style.display = isVisible ? 'block' : 'none';
|
||||||
debugBtn.style.opacity = isActive ? '1' : '0.8';
|
debugBtn.style.opacity = isActive ? '1' : '0.8';
|
||||||
debugBtn.style.cursor = isActive ? 'pointer' : 'auto';
|
debugBtn.style.cursor = isActive ? 'pointer' : 'auto';
|
||||||
|
|
Loading…
Add table
Reference in a new issue