Skip to content

Commit

Permalink
testing href
Browse files Browse the repository at this point in the history
  • Loading branch information
findirfin committed Sep 22, 2024
1 parent 34a8149 commit 87ff74f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion party-box.html
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ <h3>Liliana of the Veil</h3>
<script src="/party-box/party-box.js"></script>
<script>
function selectCard(cardName) {
window.location.href = `findirfin.dev/party-box/${cardName.toLowerCase().replace(/ /g, '-')}`;
window.location.href = `/${cardName.toLowerCase().replace(/ /g, '-')}.html`;
}
</script>
</body>
Expand Down
2 changes: 1 addition & 1 deletion party-box/slot-machine.js
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ function getRandomAbilities() {

function updateCard() {
const abilities = getRandomAbilities();
cardNameElement.textContent = "Randomized Spell";
cardNameElement.textContent = "Slot Machine";
abilities.forEach((ability, index) => {
abilityElements[index].textContent = `${index + 1}. ${ability}`;
});
Expand Down

0 comments on commit 87ff74f

Please sign in to comment.