added embedded HTML support
This commit is contained in:
parent
1b760d5800
commit
4bfdc43a72
@ -19,7 +19,7 @@ function updateEvent() {
|
||||
theDeck.innerHTML = "<div>"+window.deck.length+"</div>";
|
||||
window.hand.forEach(function (card) {
|
||||
var currentCard = elementPlace("#hand",null,"card","li");
|
||||
currentCard.innerText = card;
|
||||
currentCard.innerHTML = card;
|
||||
});
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user