rm console line (#2637)
This commit is contained in:
parent
e3f6a8fadc
commit
b53b14ae5f
1 changed files with 0 additions and 1 deletions
|
|
@ -102,7 +102,6 @@ function DropdownAudioPlayer({
|
||||||
const file = files.find((f) => f.url === key);
|
const file = files.find((f) => f.url === key);
|
||||||
if (file) {
|
if (file) {
|
||||||
const targetTime = (timeMs + delta * 1000 - file.start) / 1000;
|
const targetTime = (timeMs + delta * 1000 - file.start) / 1000;
|
||||||
console.log(targetTime, audio.currentTime, timeMs)
|
|
||||||
const fileLength = fileLengths.current[key];
|
const fileLength = fileLengths.current[key];
|
||||||
if (targetTime < 0 || (fileLength && targetTime > fileLength)) {
|
if (targetTime < 0 || (fileLength && targetTime > fileLength)) {
|
||||||
audio.pause();
|
audio.pause();
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue