| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -442,10 +442,7 @@ function getTimerDuration(msecs, name) { | |||
| 442 | 442 | function compareTimersLists(a, b) { | |
| 443 | 443 | const expiryDiff = a.expiry - b.expiry; | |
| 444 | 444 | if (expiryDiff === 0) { | |
| 445 | - if (a.id < b.id) | ||
| 446 | - return -1; | ||
| 447 | - if (a.id > b.id) | ||
| 448 | - return 1; | ||
| 445 | + return a.id - b.id; | ||
| 449 | 446 | } | |
| 450 | 447 | return expiryDiff; | |
| 451 | 448 | } | |
| Back | FazBrowse Home | New Git URL |
0 commit comments