Skip to content

Commit

Permalink
updated method name
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelchadwick committed Oct 30, 2024
1 parent 1ee7b43 commit 60ec549
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assets/js/app/lib/classes/cards/tableau.js
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ class Tableau {

onClick = (card, colId, rowId) => {
if (card.classList.contains('available')) {
if (this.hasRemovableCard(card.dataset)) {
if (this.isValidCard(card.dataset)) {
Deckdle._playSFX('click_tableau_valid')

this.removeCard(card)
Expand Down

0 comments on commit 60ec549

Please sign in to comment.