1
0
mirror of https://github.com/krateng/maloja.git synced 2023-08-10 21:12:55 +03:00

Moved range initializer back where it belongs

This commit is contained in:
Krateng 2019-05-01 11:12:11 +02:00
parent 3536139982
commit 360bc97610
5 changed files with 6 additions and 5 deletions

View File

@ -4,7 +4,7 @@
<head> <head>
<meta charset="UTF-8" /> <meta charset="UTF-8" />
<title>Maloja - KEY_ARTISTNAME</title> <title>Maloja - KEY_ARTISTNAME</title>
<script src="javascript/rangeselect.js"></script> <script src="javascript/rangeselect.js" async></script>
</head> </head>
<body> <body>

View File

@ -4,7 +4,7 @@
<head> <head>
<meta charset="UTF-8" /> <meta charset="UTF-8" />
<title>Maloja - Artist Charts</title> <title>Maloja - Artist Charts</title>
<script src="javascript/datechange.js"></script> <script src="javascript/datechange.js" async></script>
</head> </head>
<body> <body>

View File

@ -1,3 +1,3 @@
<meta name="description" content='Maloja is a self-hosted music scrobble server.' /> <meta name="description" content='Maloja is a self-hosted music scrobble server.' />
<link rel="stylesheet" href="/css/maloja.css" /> <link rel="stylesheet" href="/css/maloja.css" />
<script src="/javascript/search.js"></script> <script src="/javascript/search.js" async></script>

View File

@ -26,5 +26,3 @@ function showRange(identifier,unit) {
reactivate[i].setAttribute("style","opacity:0.5;") reactivate[i].setAttribute("style","opacity:0.5;")
} }
} }
document.addEventListener('DOMContentLoaded',function() {KEY_JS_INIT_RANGES})

View File

@ -5,6 +5,9 @@
<meta charset="UTF-8" /> <meta charset="UTF-8" />
<title>Maloja</title> <title>Maloja</title>
<script src="javascript/rangeselect.js"></script> <script src="javascript/rangeselect.js"></script>
<script>document.addEventListener('DOMContentLoaded',function() {
KEY_JS_INIT_RANGES
})</script>
</head> </head>