1
0
Fork 0
mirror of https://github.com/miniflux/v2.git synced 2025-08-11 17:51:01 +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) => {
switch (action) {
case "seek":
enclosure.currentTime = Math.min(enclosure.currentTime + value, 0);
enclosure.currentTime = Math.max(enclosure.currentTime + value, 0);
break;
case "speed":
// I set a floor speed of 0.25 to avoid too slow speed where it gives the impression it stopped.