From 605eeb4525a29956f0e945cd634a5cd052aa5715 Mon Sep 17 00:00:00 2001 From: jvoisin Date: Thu, 16 Jan 2025 13:39:06 +0100 Subject: [PATCH] Fix a mistake introduced in f67d2e230b18325da1b74de36b03592add0832f4 Spotted by @michaelkuhn --- internal/ui/static/js/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/ui/static/js/app.js b/internal/ui/static/js/app.js index 6df5b0bf..5f36b095 100644 --- a/internal/ui/static/js/app.js +++ b/internal/ui/static/js/app.js @@ -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.