mirror of
https://github.com/AlecM33/Werewolf.git
synced 2025-12-30 17:57:49 +01:00
change sitewide color, smoother loading of images on homepage
This commit is contained in:
@@ -254,6 +254,9 @@ export class DeckStateManager {
|
||||
}
|
||||
|
||||
function populateRoleElementInfo (roleEl, sortedDeck, i) {
|
||||
roleEl.classList.remove(ALIGNMENT.GOOD);
|
||||
roleEl.classList.remove(ALIGNMENT.EVIL);
|
||||
roleEl.classList.add(sortedDeck[i].team);
|
||||
roleEl.querySelector('.role-name').innerHTML =
|
||||
`<span class="role-quantity"></span>
|
||||
<span class="name"></span>`;
|
||||
|
||||
Reference in New Issue
Block a user