Skip to content

Commit 5c37375

Browse files
game over modal: added missing class and fixed incorrect class
1 parent 96ddc9c commit 5c37375

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

assets/js/app/modals.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -413,7 +413,7 @@ Deckdle.modalOpen = async (type) => {
413413
// flip stockCount so it's negative (bot score will be negative, too)
414414
if (-stockCount < botScore) {
415415
modalText += `
416-
<div class="bot-match">
416+
<div class="bot-beat">
417417
<div>🤖🤖🤖</div>
418418
<div>You <strong>beat</strong> the bot! <em>How on earth...?!?!</em></div>
419419
<div>🤖🤖🤖</div>
@@ -434,7 +434,7 @@ Deckdle.modalOpen = async (type) => {
434434
<div>🤖🤖🤖</div>
435435
`
436436
} else if (tableauCount == botScore) {
437-
modalText += `<div>🤖 You matched the bot! <strong>Holy cowabunga!</strong> 🤖</div>`
437+
modalText += `<div class="bot-match">🤖 You matched the bot! <strong>Holy cowabunga!</strong> 🤖</div>`
438438
}
439439
}
440440
}

0 commit comments

Comments
 (0)