Scroll to top after click on example queries
Change-Id: Ifa088b1059246f6c3cfcdc3aa84b915a67b648ad
diff --git a/Changes b/Changes
index fa72308..e3dd470 100644
--- a/Changes
+++ b/Changes
@@ -1,9 +1,10 @@
-0.57 2024-09-24
+0.57 2024-10-01
- Support VCs via URL without queries (diewald)
- Added translations for regexp and FCSQL (r-wilm)
- Introduce 'ui-ready' global event. (diewald)
- Don't show random page option for single page
results (diewald)
+ - Move page to top after click on example queries (diewald)
0.56 2024-09-23
- Improve slim test for plugin support
diff --git a/dev/js/src/tutorial.js b/dev/js/src/tutorial.js
index 5573682..ae42bad 100644
--- a/dev/js/src/tutorial.js
+++ b/dev/js/src/tutorial.js
@@ -102,6 +102,9 @@
t.setPage(e);
t.hide();
+
+ d.body.scrollTop = 0;
+ d.documentElement.scrollTop = 0;
},