diff --git a/webui/static/script.js b/webui/static/script.js index 518e5d84..b63cde22 100644 --- a/webui/static/script.js +++ b/webui/static/script.js @@ -574,7 +574,7 @@ function handleProgressBarChange(event) { // Handle seeking in the audio track if (!audioPlayer || !audioPlayer.duration) return; - const progress = event.target.value; + const progress = parseFloat(event.target.value); const newTime = (progress / 100) * audioPlayer.duration; console.log(`🎯 Seeking to ${formatTime(newTime)} (${progress.toFixed(1)}%)`); diff --git a/webui/static/style.css b/webui/static/style.css index 91bf8c4f..3746b77e 100644 --- a/webui/static/style.css +++ b/webui/static/style.css @@ -386,7 +386,9 @@ body { } .progress-bar { - position: relative; + position: absolute; + top: 0; + left: 0; width: 100%; height: 20px; background: transparent;