diff options
| author | Fuwn <[email protected]> | 2023-08-29 13:23:27 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2023-08-29 13:23:27 -0700 |
| commit | 6b4e6a85b33409961ba113f8a116f58baceeffd4 (patch) | |
| tree | a79b78703abbc15af91ace86fc78c9f04420587d /src/lib/List/Due/MangaList.svelte | |
| parent | fix(manga): optimise update media (diff) | |
| download | due.moe-6b4e6a85b33409961ba113f8a116f58baceeffd4.tar.xz due.moe-6b4e6a85b33409961ba113f8a116f58baceeffd4.zip | |
fix(list): only update end time on initial load
Diffstat (limited to 'src/lib/List/Due/MangaList.svelte')
| -rw-r--r-- | src/lib/List/Due/MangaList.svelte | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/lib/List/Due/MangaList.svelte b/src/lib/List/Due/MangaList.svelte index 003284fc..3e0a956d 100644 --- a/src/lib/List/Due/MangaList.svelte +++ b/src/lib/List/Due/MangaList.svelte @@ -84,7 +84,10 @@ ($roundDownChapters === 'true' ? Math.floor(item.episodes) : item.episodes)) ); }); - endTime = performance.now() - startTime; + + if (!endTime) { + endTime = performance.now() - startTime; + } return finalMedia; }; |