| @@ -346,15 +346,15 @@ | ||
| 346 | 346 | |
| 347 | 347 | function checkLottie() { |
| 348 | 348 | const lottieLib = getLottieLibrary(); |
| 349 | 349 | if (lottieLib) { |
| 350 | - console.log('Lottie library found, initializing animations'); | |
| 350 | + // console.log('Lottie library found, initializing animations'); | |
| 351 | 351 | kingAddonsInitializeLottieLogos($mainMenu); |
| 352 | 352 | } else if (attempts < maxAttempts) { |
| 353 | 353 | attempts++; |
| 354 | 354 | setTimeout(checkLottie, 100); |
| 355 | 355 | } else { |
| 356 | - console.log('Lottie library not loaded after 5 seconds'); | |
| 356 | + // console.log('Lottie library not loaded after 5 seconds'); | |
| 357 | 357 | // Try one more time with alternative approach |
| 358 | 358 | tryAlternativeLottieInit($mainMenu); |
| 359 | 359 | } |
| 360 | 360 | } |
| @@ -370,9 +370,9 @@ | ||
| 370 | 370 | if (document.readyState === 'complete') { |
| 371 | 371 | setTimeout(function() { |
| 372 | 372 | const lottieLib = getLottieLibrary(); |
| 373 | 373 | if (lottieLib) { |
| 374 | - console.log('Lottie library found on window load, initializing'); | |
| 374 | + // console.log('Lottie library found on window load, initializing'); | |
| 375 | 375 | kingAddonsInitializeLottieLogos($mainMenu); |
| 376 | 376 | } |
| 377 | 377 | }, 500); |
| 378 | 378 | } else { |
| @@ -379,9 +379,9 @@ | ||
| 379 | 379 | window.addEventListener('load', function() { |
| 380 | 380 | setTimeout(function() { |
| 381 | 381 | const lottieLib = getLottieLibrary(); |
| 382 | 382 | if (lottieLib) { |
| 383 | - console.log('Lottie library found after window load, initializing'); | |
| 383 | + // console.log('Lottie library found after window load, initializing'); | |
| 384 | 384 | kingAddonsInitializeLottieLogos($mainMenu); |
| 385 | 385 | } |
| 386 | 386 | }, 500); |
| 387 | 387 | }); |
| @@ -474,14 +474,14 @@ | ||
| 474 | 474 | observer.observe(this); |
| 475 | 475 | } |
| 476 | 476 | } |
| 477 | 477 | |
| 478 | - console.log('Lottie animation initialized for:', jsonUrl); | |
| 478 | + // console.log('Lottie animation initialized for:', jsonUrl); | |
| 479 | 479 | } else { |
| 480 | - console.log('Lottie library not available'); | |
| 480 | + // console.log('Lottie library not available'); | |
| 481 | 481 | } |
| 482 | 482 | } catch (error) { |
| 483 | - console.log('Lottie initialization failed:', error); | |
| 483 | + // console.log('Lottie initialization failed:', error); | |
| 484 | 484 | } |
| 485 | 485 | }); |
| 486 | 486 | } |
| 487 | 487 | |