mirror of
https://github.com/OpenXE-org/OpenXE.git
synced 2025-01-23 19:31:13 +01:00
bugfix scrolling to middle of page
This commit is contained in:
parent
265d815534
commit
4b40c27c84
7
www/js/scrollfix.js
Normal file
7
www/js/scrollfix.js
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
/*
|
||||||
|
* Fix scrolling to middle of page bug
|
||||||
|
*/
|
||||||
|
|
||||||
|
$(() => {
|
||||||
|
window.scrollTo(0, 0);
|
||||||
|
})
|
@ -286,5 +286,6 @@ $(document).ready(function() {
|
|||||||
<script type="text/javascript" src="./js/filter.js"></script>
|
<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/confirm-popup.js"></script>
|
||||||
<script type="text/javascript" src="./js/ajax_end.js?v=8"></script>
|
<script type="text/javascript" src="./js/ajax_end.js?v=8"></script>
|
||||||
|
<script type="text/javascript" src="./js/scrollfix.js"></script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user