1
0
Fork 0
mirror of https://github.com/miniflux/v2.git synced 2025-08-06 17:41:00 +00:00

Fix a mistake introduced in f67d2e230b

Spotted by @michaelkuhn
This commit is contained in:
jvoisin 2025-01-16 13:39:06 +01:00 committed by Frédéric Guillot
parent eb6991ae49
commit 605eeb4525

View file

@ -781,7 +781,7 @@ function handleMediaControl(button) {
enclosures.forEach((enclosure) => { enclosures.forEach((enclosure) => {
switch (action) { switch (action) {
case "seek": case "seek":
enclosure.currentTime = Math.min(enclosure.currentTime + value, 0); enclosure.currentTime = Math.max(enclosure.currentTime + value, 0);
break; break;
case "speed": case "speed":
// I set a floor speed of 0.25 to avoid too slow speed where it gives the impression it stopped. // I set a floor speed of 0.25 to avoid too slow speed where it gives the impression it stopped.