mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2025-12-09 04:57:09 +03:00
Fix chapter sorting
This commit is contained in:
@@ -581,7 +581,7 @@ class PreviewBar {
|
||||
} else if (a.actionType !== ActionType.Chapter && b.actionType === ActionType.Chapter) {
|
||||
return 1;
|
||||
} else {
|
||||
return (a.segment[0] - b.segment[1]);
|
||||
return (b.segment[0] - a.segment[0]);
|
||||
}
|
||||
})[0];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user