chore: result lyrics debug

This commit is contained in:
Harshad 2026-02-05 21:37:10 +05:30
parent 6500a33f9d
commit 24712976f4
2 changed files with 3 additions and 5 deletions

View file

@ -111,7 +111,7 @@
if (lyricsEl && audioPlayer) {
console.log('Re-initializing auto-scroll for new audio source');
lyricsEl.style.visibility = 'visible';
lyricsEl.style.display = "";
// Reset scroll position
lyricsEl.scrollTop = 0;
@ -168,6 +168,7 @@
audioPlayer.currentTime = currentTime;
// Re-initialize auto-scroll for the new MP3 source
console.log(`Re-initialize auto-scroll`);
reinitializeAutoScroll();
if (wasPlaying) {

View file

@ -10,9 +10,6 @@
<meta name="description" content="Create a personalized love song for your pet with our fun and easy tool.">
<link rel="stylesheet" href="assets/css/style.css">
<link rel="preload" href="./assets/images/jukebox-banner-dt.gif" as="image">
<link rel="preload" href="./assets/images/jukebox-banner-mb.gif" as="image">
<?php include('opengraph.php'); ?>
</head>
<body>
@ -43,7 +40,7 @@
<span id="toggle-song-icon" class="song-play"></span>
</div>
<div class="song-lyrics"></div>
<div class="song-lyrics" style="display: none;"></div>
<div class="share-container">
<div class="share-title">Share the love.</div>