you dont spell parent parrent
This commit is contained in:
parent
58d8016a28
commit
6ef7f09da7
1 changed files with 1 additions and 1 deletions
|
@ -57,7 +57,7 @@ function Block(fallingLane, color, iter, distFromHex, settled) {
|
|||
|
||||
this.getIndex = function (){
|
||||
//get the index of the block in its stack
|
||||
var parrentArr = MainClock.blocks[this.attachedLane]
|
||||
var parentArr = MainClock.blocks[this.attachedLane]
|
||||
for (var i = 0; i < parentArr.length; i++) {
|
||||
if (parentArr[i] == this) {
|
||||
return i;
|
||||
|
|
Loading…
Reference in a new issue