mirror of
https://github.com/yawaflua/LuckyDiamond.git
synced 2025-12-10 20:29:35 +02:00
fixed bug with type object - flippedcard
This commit is contained in:
@@ -264,7 +264,7 @@ export default {
|
|||||||
this.flippedCards.splice(this.flippedCards.indexOf(index), 1);
|
this.flippedCards.splice(this.flippedCards.indexOf(index), 1);
|
||||||
console.log(index, this.flippedCards)
|
console.log(index, this.flippedCards)
|
||||||
} else {
|
} else {
|
||||||
this.flippedCards.push(index);
|
this.flippedCards = index;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
stepsEndOfWord(index) {
|
stepsEndOfWord(index) {
|
||||||
|
|||||||
Reference in New Issue
Block a user