bugfix scrolling to middle of page

This commit is contained in:
OpenXE 2023-06-17 12:27:32 +02:00
parent 265d815534
commit 4b40c27c84
2 changed files with 8 additions and 0 deletions

7
www/js/scrollfix.js Normal file
View File

@ -0,0 +1,7 @@
/*
* Fix scrolling to middle of page bug
*/
$(() => {
window.scrollTo(0, 0);
})

View File

@ -286,5 +286,6 @@ $(document).ready(function() {
<script type="text/javascript" src="./js/filter.js"></script>
<script type="text/javascript" src="./js/confirm-popup.js"></script>
<script type="text/javascript" src="./js/ajax_end.js?v=8"></script>
<script type="text/javascript" src="./js/scrollfix.js"></script>
</body>
</html>