fix footer menu, fix #4
This commit is contained in:
@@ -332,20 +332,6 @@
|
||||
this.p.velocity.multiplyScalarXY(1,-1).multiplyScalar(0.75);
|
||||
break;
|
||||
}
|
||||
// if(
|
||||
// (this.x < this.wall_limits.left && this.p.velocity.x < 0)
|
||||
// || (this.x > this.wall_limits.right && this.p.velocity.x > 0)
|
||||
// ){
|
||||
// // console.log("bounce x");
|
||||
// this.p.velocity.multiplyScalarXY(-1, 1).multiplyScalar(0.75);
|
||||
// }
|
||||
// if(
|
||||
// (this.y < this.wall_limits.top && this.p.velocity.y < 0)
|
||||
// || (this.y > this.wall_limits.bottom && this.p.velocity.y > 0)
|
||||
// ){
|
||||
// // console.log("bounce y");
|
||||
// this.p.velocity.multiplyScalarXY(1,-1).multiplyScalar(0.75);
|
||||
// }
|
||||
};
|
||||
|
||||
Node.prototype.updatePos = function(){
|
||||
@@ -673,10 +659,13 @@
|
||||
_$entrees_block_termlinks.parents('li').removeClass('opened');
|
||||
$li.addClass('opened');
|
||||
filterEntree(tid);
|
||||
_$body.trigger({'type':'open_entree', 'tid':tid});
|
||||
}else{
|
||||
$li.removeClass('opened');
|
||||
scrambleCollection();
|
||||
_$body.trigger({'type':'close_entree', 'tid':tid});
|
||||
}
|
||||
|
||||
return false;
|
||||
});
|
||||
|
||||
|
||||
@@ -332,20 +332,6 @@
|
||||
this.p.velocity.multiplyScalarXY(1,-1).multiplyScalar(0.75);
|
||||
break;
|
||||
}
|
||||
// if(
|
||||
// (this.x < this.wall_limits.left && this.p.velocity.x < 0)
|
||||
// || (this.x > this.wall_limits.right && this.p.velocity.x > 0)
|
||||
// ){
|
||||
// // console.log("bounce x");
|
||||
// this.p.velocity.multiplyScalarXY(-1, 1).multiplyScalar(0.75);
|
||||
// }
|
||||
// if(
|
||||
// (this.y < this.wall_limits.top && this.p.velocity.y < 0)
|
||||
// || (this.y > this.wall_limits.bottom && this.p.velocity.y > 0)
|
||||
// ){
|
||||
// // console.log("bounce y");
|
||||
// this.p.velocity.multiplyScalarXY(1,-1).multiplyScalar(0.75);
|
||||
// }
|
||||
};
|
||||
|
||||
Node.prototype.updatePos = function(){
|
||||
@@ -673,10 +659,13 @@
|
||||
_$entrees_block_termlinks.parents('li').removeClass('opened');
|
||||
$li.addClass('opened');
|
||||
filterEntree(tid);
|
||||
_$body.trigger({'type':'open_entree', 'tid':tid});
|
||||
}else{
|
||||
$li.removeClass('opened');
|
||||
scrambleCollection();
|
||||
_$body.trigger({'type':'close_entree', 'tid':tid});
|
||||
}
|
||||
|
||||
return false;
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user