Skip to content

Commit

Permalink
Scroll to top after click on example queries
Browse files Browse the repository at this point in the history
Change-Id: Ifa088b1059246f6c3cfcdc3aa84b915a67b648ad
  • Loading branch information
Akron committed Oct 1, 2024
1 parent 0ac1b5f commit a141507
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Changes
Original file line number Diff line number Diff line change
@@ -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
Expand Down
3 changes: 3 additions & 0 deletions dev/js/src/tutorial.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,9 @@ define(['session','buttongroup','util'], function (sessionClass, buttonGroupClas

t.setPage(e);
t.hide();

d.body.scrollTop = 0;
d.documentElement.scrollTop = 0;
},


Expand Down

0 comments on commit a141507

Please sign in to comment.