| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -422,10 +422,7 @@ function getTimerDuration(msecs, name) { | |||
| 422 | 422 | function compareTimersLists(a, b) { | |
| 423 | 423 | const expiryDiff = a.expiry - b.expiry; | |
| 424 | 424 | if (expiryDiff === 0) { | |
| 425 | - if (a.id < b.id) | ||
| 426 | - return -1; | ||
| 427 | - if (a.id > b.id) | ||
| 428 | - return 1; | ||
| 425 | + return a.id - b.id; | ||
| 429 | 426 | } | |
| 430 | 427 | return expiryDiff; | |
| 431 | 428 | } | |
| Back | FazBrowse Home | New Git URL |
0 commit comments