Skip to content

Commit

Permalink
Easter egg fix
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxLaumeister committed Jun 5, 2015
1 parent 31bf138 commit 1f6f08f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions dist/bitlisten.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/floatable.js
Original file line number Diff line number Diff line change
Expand Up @@ -110,15 +110,15 @@ var easterSuccess = function() {
Floatable.prototype.update.call(derpy, time);
derpy.velocity.x += Math.random() * 0.3 - 0.15;
if (derpy.velocity.x > 0.1) {
$(derpy.div).css({
$(derpy.image).css({
"-moz-transform": "scaleX(-1)",
"-o-transform": "scaleX(-1)",
"-webkit-transform": "scaleX(-1)",
"transform": "scaleX(-1)"
});
}
if (derpy.velocity.x < -0.1) {
$(derpy.div).css({
$(derpy.image).css({
"-moz-transform": "scaleX(1)",
"-o-transform": "scaleX(1)",
"-webkit-transform": "scaleX(1)",
Expand Down

0 comments on commit 1f6f08f

Please sign in to comment.