Its javascript time!!!
This commit is contained in:
parent
16bce9f0ba
commit
dcf610a432
2 changed files with 5 additions and 0 deletions
|
@ -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
3
static/main.js
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
window.onbeforeunload = function() {
|
||||||
|
window.scrollTo(0, 0)
|
||||||
|
}
|
Loading…
Reference in a new issue