qol wow
This commit is contained in:
+1
-6
@@ -89,19 +89,15 @@ jQuery(function($) {
|
||||
let body = "";
|
||||
console.log("ayyyy");
|
||||
const nomequi = ["gp", "seb", "pl", "christ", "gabelle", "gui", "allain", "nath", "aria", "jm"];
|
||||
console.log("AYY");
|
||||
console.log("AYY2");
|
||||
nomequi.forEach(equipeTable);
|
||||
document.getElementById("equtbbody").innerHTML = body;
|
||||
function equipeTable(item, index) {
|
||||
let nomdesc = ["", ""];
|
||||
nomdesc = equipeText(item);
|
||||
console.log(index);
|
||||
console.log(item);
|
||||
try {
|
||||
console.log(picurl);
|
||||
console.log(picurl.results[index].picture.large);
|
||||
body += "<tr><td><div id='playerwindow' class='window' style='margin: auto;'><div class='title-bar' style='padding-top: 15px; padding-bottom: 15px;'><div id='title-bar-xp' class='title-bar-text'> " + nomdesc[0] + " </div></div><div class='window-body'><img src='" + picurl.results[index].picture.large.toString() + "'></div></div></td><td style='color: var(--light); padding-top: 3%;'>" + nomdesc[1] + "</td></tr>";
|
||||
body += "<tr><td><div id='playerwindow' class='window' style='margin: auto;'><div class='title-bar' style='padding-top: 15px; padding-bottom: 15px;'><div id='title-bar-xp'class='title-bar-text'> " + nomdesc[0] + "</div></div><div class='window-body'><img src='" + picurl.results[index].picture.large.toString() + "'></div></div></td><td style='padding-top: 3%;'><div id='playerwindow' class='window'><div class='title-bar'style='padding-top: 15px; padding-bottom: 15px;'><div id='title-bar-xp'class='title-bar-text'>Meaculpa.mpeg</div><div class='title-bar-controls'><button aria-label='Close'></button></div></div><div class='window-body'>" + nomdesc[1] + "</td></div></div></tr>";
|
||||
apiLoaded = 1;
|
||||
equLoaded = 1;
|
||||
}
|
||||
@@ -111,7 +107,6 @@ jQuery(function($) {
|
||||
apiLoaded = 0;
|
||||
equLoaded = 0;
|
||||
}
|
||||
console.log(body);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user