Permalink
Browse files

Prevent user from catching a cutout unawares

  • Loading branch information...
1 parent f7461b8 commit ce41988fe0d9ba9b9ee06136ea0f82846771b986 @camerond camerond committed Jun 15, 2011
Showing with 2 additions and 0 deletions.
  1. +2 −0 public/javascript/application.js
@@ -74,6 +74,7 @@ $(function() {
height: $new.height()
}, 200, function() {
$new.fadeIn(200);
+ $("#cutout").is(":animated") ? false : $("#cutout").hide();
});
});
}
@@ -114,6 +115,7 @@ $(function() {
}
});
} else {
+ $cutout.hide();
setTimeout(walk, 1000);
}
};

0 comments on commit ce41988

Please sign in to comment.