From 8a6e169471cf90ef23820004a0f23160e3a35c77 Mon Sep 17 00:00:00 2001 From: thePR0M3TH3AN <53631862+PR0M3TH3AN@users.noreply.github.com> Date: Tue, 30 Sep 2025 12:11:43 -0400 Subject: [PATCH] Fix watch history ensureInitialLoad reset --- js/historyView.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/js/historyView.js b/js/historyView.js index ffbad480..1b344cbc 100644 --- a/js/historyView.js +++ b/js/historyView.js @@ -305,7 +305,14 @@ export function createWatchHistoryRenderer(config = {}) { } if (!state.resolvedVideos.length && !state.isLoading) { + if (!state.hasMore) { + state.hasMore = true; + } await loadNextBatch({ initial: true }); + + if (state.hasMore && !state.observer && !state.scrollListener) { + attachObservers(); + } } }, async loadMore() {