summaryrefslogtreecommitdiff
path: root/rannak/mangud/perenaine/memori/script.js
diff options
context:
space:
mode:
Diffstat (limited to 'rannak/mangud/perenaine/memori/script.js')
-rw-r--r--rannak/mangud/perenaine/memori/script.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/rannak/mangud/perenaine/memori/script.js b/rannak/mangud/perenaine/memori/script.js
index 1a06fd9..bcdba13 100644
--- a/rannak/mangud/perenaine/memori/script.js
+++ b/rannak/mangud/perenaine/memori/script.js
@@ -11,6 +11,7 @@ function flipCard() {
this.classList.add('flip');
+
if (!hasFlippedCard) {
hasFlippedCard = true;
firstCard = this;