mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-03-22 11:08:29 +00:00
sort cues for time improved
This commit is contained in:
parent
67d130c437
commit
1bee511055
1 changed files with 2 additions and 1 deletions
|
|
@ -36,6 +36,7 @@ module.exports = function(cues, time) {
|
|||
}
|
||||
|
||||
return cuesForTime.sort(function(c1, c2) {
|
||||
return c1.startTime - c2.startTime;
|
||||
return c1.startTime - c2.startTime ||
|
||||
c1.endTime - c2.endTime;
|
||||
});
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue