Don't scroll to the history when a chart day is tapped

Selecting the day (and the new selected-day highlight) is enough;
the scroll jump lost your place in the charts.
This commit is contained in:
Alexander Heldt committed 2026-07-15 12:48:23 +00:00
1 parent 3e3eee678e
commit 9b6ee20b07
2 files changed
+1 -2

No files matched your search

-2
View File
@@ -964,8 +964,6 @@
b.addEventListener("click", () => {
dayPicker.value = b.dataset.day;
render();
const hist = document.querySelector(".history");
if (hist) hist.scrollIntoView({ behavior: "smooth", block: "start" });
});
});
}