We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fcffd5c commit 1b35a8dCopy full SHA for 1b35a8d
js/main.js
@@ -6,7 +6,15 @@ $(document).ready(function() {
6
'slow');
7
});
8
$(".cell").click(function(){
9
- $(this).children(":visible").fadeOut();
+ $(this).children(":visible").fadeOut(1);
10
$(this).children(":hidden").delay(500).fadeIn();
11
+ if ($(this).find(".back:visible")) {
12
+ $(this).siblings().fadeOut();
13
+ $(this).parent().siblings().fadeOut();
14
+ }
15
+ if ($(this).find(".front:visible")) {
16
+ $(".flex-row").delay(1000).show();
17
+ $(".cell").delay(1000).show();
18
19
20
0 commit comments