';
@@ -57,8 +60,8 @@ function installCardView(){
$('.page-content').before(h);
- }else{
- $('#home-card').fadeOut();
+ } else {
+ $('#home-card').fadeToggle();
}
}
@@ -168,6 +171,9 @@ function randomOpenCardView(){
}
}
+/**
+ * This function changes the visibility of blocks inside the puzzle area
+ */
function onlyOpenCardView(){
installCardView();
@@ -204,7 +210,7 @@ function onlyOpenCardView(){
function minimizePuzzle(){
$('.puzzlecardone').addClass('puzzleMin');
- setTimeout(function(){
+ setTimeout(function() {
$('.puzzleMinOther').css('display','block');