mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2025-12-11 05:57:07 +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) {
|
} else if (a.actionType !== ActionType.Chapter && b.actionType === ActionType.Chapter) {
|
||||||
return 1;
|
return 1;
|
||||||
} else {
|
} else {
|
||||||
return (a.segment[0] - b.segment[1]);
|
return (b.segment[0] - a.segment[0]);
|
||||||
}
|
}
|
||||||
})[0];
|
})[0];
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user