Event list filter: Save scroll position

This commit is contained in:
Raphael Michel
2023-11-24 15:05:05 +01:00
parent 7648be7937
commit 49d4324992
3 changed files with 4 additions and 4 deletions

View File

@@ -379,7 +379,7 @@ $(function () {
});
}
if (sessionStorage) {
$("[data-save-scrollpos]").click(function () {
$("[data-save-scrollpos]").on("click submit", function () {
sessionStorage.setItem('scrollpos', window.scrollY);
});
}