@@ -210,7 +210,6 @@ window.genUUID = async function genUUID () {
210210} ;
211211
212212window . fetchChatID = async function fetchChatID ( botAPIKey ) {
213- console . log ( 'Fetching Telegram chat ID' + botAPIKey ) ;
214213 try {
215214 const TGchatID = await utils . chatIDTG ( botAPIKey ) ;
216215 document . getElementById ( 'chatID' ) . value = TGchatID ;
@@ -393,12 +392,9 @@ window.signIn = async function signIn (callerForm) {
393392
394393window . TGconfig = function TGconfig ( callerForm ) {
395394 const submitterBtn = callerForm . getElementsByTagName ( 'button' ) [ 1 ] ;
396- submitterBtn . replaceChildren ( 'Saving...' ) ;
397- setTimeout ( ( ) => { submitterBtn . replaceChildren ( 'Save' ) ; callerForm . reset ( ) ; } , 2000 ) ;
398395 const formData = new FormData ( callerForm ) ;
399396 const dataObj = { } ;
400397 for ( const [ key , val ] of formData . entries ( ) ) {
401- console . log ( key + ',' + val ) ;
402398 dataObj [ key ] = val ;
403399 cache . setItem ( key , val ) ;
404400 }
@@ -481,7 +477,6 @@ function main() {
481477 const pageIsRefreshed = Boolean ( sessionStorage . getItem ( 'wasHere' ) ) ;
482478 // Sets sessionStorage for next sessions to understand if its a page reload
483479 sessionStorage . setItem ( 'wasHere' , 'earlier' ) ;
484- console . log ( 'Current page is refreshed:' , pageIsRefreshed ) ;
485480 if ( pageIsRefreshed ) spaRestore ( ) ;
486481
487482 // Sign-in automatically if prior cache is found in localStorage or sessionStorage.
0 commit comments