mirror of
https://github.com/appen-isen/site-interpromo-2023.git
synced 2026-01-18 16:47:22 +01:00
affichage set
This commit is contained in:
@@ -435,6 +435,10 @@ if(window.location.href.includes("index.html") || window.location.href === "http
|
||||
const cardHeaderPointT2 = document.createElement('p');
|
||||
cardHeaderPointT2.id = "pointT2" + match.id;
|
||||
cardHeaderPointT2.innerText = match.point2;
|
||||
if(match.expand.sport.name === "badminton" || match.expand.sport.name === "volleyball"){
|
||||
cardHeaderPointT1.innerText = match.point1 + ' (' + match.set1 + ')';
|
||||
cardHeaderPointT2.innerText = match.point2 + ' (' + match.set2 + ')';
|
||||
}
|
||||
cardHeaderPointDiv.appendChild(cardHeaderPointT1);
|
||||
cardHeaderPointDiv.appendChild(cardHeaderSeparator);
|
||||
cardHeaderPointDiv.appendChild(cardHeaderPointT2);
|
||||
|
||||
Reference in New Issue
Block a user