From 7eb066510db47c3974fcceeebaa256ab80a6abe3 Mon Sep 17 00:00:00 2001 From: Tails2091 <40816748+Tails2091@users.noreply.github.com> Date: Wed, 22 Aug 2018 18:37:10 -0400 Subject: [PATCH] Reverted For Loop, Centered Buttons Not really centered but works. --- code/modules/arcade/crane.html | 26 ++++++++------------------ code/modules/arcade/page.css | 4 ++++ 2 files changed, 12 insertions(+), 18 deletions(-) diff --git a/code/modules/arcade/crane.html b/code/modules/arcade/crane.html index 78d59aa8f8f..5fef0d104dc 100644 --- a/code/modules/arcade/crane.html +++ b/code/modules/arcade/crane.html @@ -22,7 +22,6 @@ $(pic).append(ball); $('#game').append(pic); - //console.log(crane); this.GetState = function() {return state}; var CheckBoundaries = function () { @@ -95,7 +94,7 @@ top += vspd; if(state=='won' && top > 460) { - $('#prize'+id).remove();//css({visibility:'hidden'}); + $('#prize'+id).remove(); state='hidden'; gameShutDown(); } @@ -105,13 +104,11 @@ this.Repaint = function () { $('#prize'+id).css({'top':top, 'left':left}); - //$('#'+id+' #crane-handle-top').css({height: handleHeight}); }; }