When scrolling quickly through the date selector, e.g. via switching the month quickly, the asynchronous fetching could cause too many versions to be loaded
@@ -112,6 +112,11 @@ class ArchiveView {
)
).then((commits) => {
+ // Skip if new date is selected
+ if (date != this.dateselector.value) {
+ return 0;
+ }
+
this.add_commits(commits)
return commits.length
}