mirror of
https://github.com/sussy-code/smov.git
synced 2024-12-20 14:37:43 +01:00
Change next episode button to be more universal
This commit is contained in:
parent
4155c4b610
commit
b2e1cc5aab
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ function shouldShowNextEpisodeButton(
|
|||
const percentage = time / duration;
|
||||
const secondsFromEnd = duration - time;
|
||||
if (secondsFromEnd <= 30) return "always";
|
||||
if (percentage >= 0.93) return "hover";
|
||||
if (percentage >= 0.94) return "hover";
|
||||
return "none";
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue