mirror of
https://gitea.augustin64.fr/piair/MsRewards-Reborn.git
synced 2025-06-12 22:24:47 +02:00
mis dans le js + fix quelques problemes
This commit is contained in:
@ -71,6 +71,26 @@ function change_proxy(value, data, len) {
|
||||
}
|
||||
}
|
||||
|
||||
function change_override(value, data) {
|
||||
for (let i = 1; i < 6; i++) {
|
||||
document.getElementById("compte_"+ i).innerHTML = data[parseInt(value)]['accounts'][i]["mail"];
|
||||
if (!(data[parseInt(value)]['accounts'][i]["mail"])){
|
||||
console.log("hiding" + i);
|
||||
for (let j = 1; j <= 5; j++) {
|
||||
|
||||
document.getElementById(i.toString() +j.toString()).style.visibility = "hidden";
|
||||
}
|
||||
} else {
|
||||
console.log("showing" + i);
|
||||
for (let j = 1; j <= 5; j++) {
|
||||
console.log("element " + i.toString()+j.toString());
|
||||
document.getElementById(i.toString()+j.toString()).style.visibility = "visible";
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
function change_logs(value) {
|
||||
var myIframe = document.getElementById('embed');
|
||||
myIframe.addEventListener("load", function() {
|
||||
|
Reference in New Issue
Block a user