Skip to content

Commit 40beb3e

Browse files
committed
Sort bubbles by start datetime
1 parent 67b4c78 commit 40beb3e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/parser.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@ export default class Parser {
77
}
88

99
parse(html) {
10-
var list = new List();
10+
var list = new List((a, b) {
11+
return a.Start() < b.Start() ? -1 : 1
12+
});
1113

1214
if (!html.classList.contains('timesheet')) {
1315
return list;

0 commit comments

Comments
 (0)