chore: more folders
This commit is contained in:
parent
cb412148e5
commit
fbc6dbf283
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 1.9 KiB |
|
@ -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>
|
||||
|
|
|
@ -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);
|
||||
|
Loading…
Reference in a new issue