From 3c671f30e904247331a132b646c5b938b035bb6c Mon Sep 17 00:00:00 2001 From: Agahnim Date: Fri, 20 Mar 2026 16:02:09 +0100 Subject: [PATCH] global: implement scroll to top --- templates/base.html | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/templates/base.html b/templates/base.html index 098ea1c..b029421 100644 --- a/templates/base.html +++ b/templates/base.html @@ -10,6 +10,9 @@ + @@ -56,6 +59,7 @@ document.body.addEventListener('htmx:afterSwap', () => { updateMiniplayerVisibility(); updateNavState(); + window.scrollTo(0, 0); });