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
2026-07-15 12:48:23 +00:00
parent 3e3eee678e
commit 9b6ee20b07
2 changed files with 1 additions and 2 deletions
-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" });
});
});
}