From 52b100ad168c10ea44b1df7b89b71ae177ae835a Mon Sep 17 00:00:00 2001 From: Rasmus Luha Date: Thu, 22 Sep 2022 15:10:43 +0300 Subject: perenaine memory final --- rannak/mangud/perenaine/memori/script.js | 1 + 1 file changed, 1 insertion(+) (limited to 'rannak/mangud/perenaine/memori/script.js') 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; -- cgit v1.2.3