diff --git a/server/utils/prober.js b/server/utils/prober.js index fc58937b..9b4d34e9 100644 --- a/server/utils/prober.js +++ b/server/utils/prober.js @@ -153,7 +153,7 @@ function parseChapters(_chapters) { title } }) - .toSorted((a, b) => a.start - b.start) + .sort((a, b) => a.start - b.start) .map((chap, index) => { chap.id = index return chap