chore: more folders

This commit is contained in:
Laureηt 2022-05-27 15:34:34 +02:00
parent cb412148e5
commit fbc6dbf283
No known key found for this signature in database
GPG key ID: D88C6B294FD40994
3 changed files with 10 additions and 10 deletions

View file

Before

Width:  |  Height:  |  Size: 1.9 KiB

After

Width:  |  Height:  |  Size: 1.9 KiB

View file

@ -7,12 +7,12 @@
<link rel="stylesheet" href="css/title-bar.css" />
<link rel="stylesheet" href="css/login-signup.css" />
<link rel="stylesheet" href="css/pixels.css" />
<!-- <script type="text/javascript" src="pixels.js"></script> -->
<!-- <script type="text/javascript" src="js/ixels.js"></script> -->
</head>
<body>
<nav>
<img src="logo.png" />
<img src="assets/logo.png" />
<span class="profil">
<button onclick="toggleLogin()">Login</button>

View file

@ -18,17 +18,17 @@ const updateUserJSON = async () => {
userJSON = await reponse.json();
};
// function updateSolde() {
// var elems = document.getElementsByClassName("solde");
// elems.forEach((el) => {
// el.innerHTML = userJSON.solde + "₿";
// });
// }
function updateSolde() {
var elems = document.getElementsByClassName("solde");
elems.forEach((el) => {
el.innerHTML = userJSON.solde + "₿";
});
}
// updateSolde();
updateSolde();
updateUserJSON();
updatePixelsJSON();
// setInterval(updateSolde, 10000);
setInterval(updateSolde, 10000);
setInterval(updateUserJSON, 10000);
setInterval(updatePixelsJSON, 10000);