mirror of
https://github.com/atareao/self-hosted.git
synced 2024-06-30 02:55:38 +02:00
script
This commit is contained in:
parent
1f04657a06
commit
45c2030a56
|
@ -20,6 +20,7 @@
|
|||
<link rel="apple-touch-icon" href="/apple-touch-icon.png">
|
||||
|
||||
<link rel="stylesheet" href="css/styles.css?v=1.0">
|
||||
<script src="js/script.js"></script>
|
||||
|
||||
</head>
|
||||
|
||||
|
|
11
nginx/html/js/script.js
Normal file
11
nginx/html/js/script.js
Normal file
|
@ -0,0 +1,11 @@
|
|||
const ready = (callback) => {
|
||||
if (document.readyState != "loading") callback();
|
||||
else document.addEventListener("DOMContentLoaded", callback);
|
||||
}
|
||||
|
||||
ready(() => {
|
||||
});
|
||||
|
||||
function init(){
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user