Its javascript time!!!

This commit is contained in:
bingus_violet 2024-04-12 23:35:09 -05:00
parent 16bce9f0ba
commit dcf610a432
2 changed files with 5 additions and 0 deletions

View file

@ -5,6 +5,8 @@
<link rel="stylesheet" type="text/css" href="./global.css"> <link rel="stylesheet" type="text/css" href="./global.css">
<link rel="stylesheet" type="text/css" href="./root.css"> <link rel="stylesheet" type="text/css" href="./root.css">
<script src="./main.js"></script>
<meta charset="UTF-8"> <meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">

3
static/main.js Normal file
View file

@ -0,0 +1,3 @@
window.onbeforeunload = function() {
window.scrollTo(0, 0)
}