You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@wookie.apache.org by sc...@apache.org on 2011/10/19 12:15:02 UTC

svn commit: r1186067 - /incubator/wookie/trunk/widgets/bubbles/script.js

Author: scottbw
Date: Wed Oct 19 10:15:02 2011
New Revision: 1186067

URL: http://svn.apache.org/viewvc?rev=1186067&view=rev
Log:
Fixed a typo in a variable name that caused Bubbles game to not work properly on Firefox - it didn't seem to bother other browsers.

Modified:
    incubator/wookie/trunk/widgets/bubbles/script.js

Modified: incubator/wookie/trunk/widgets/bubbles/script.js
URL: http://svn.apache.org/viewvc/incubator/wookie/trunk/widgets/bubbles/script.js?rev=1186067&r1=1186066&r2=1186067&view=diff
==============================================================================
--- incubator/wookie/trunk/widgets/bubbles/script.js (original)
+++ incubator/wookie/trunk/widgets/bubbles/script.js Wed Oct 19 10:15:02 2011
@@ -154,7 +154,7 @@ function BubbleGame( gameAreaId, newGame
                 width++;
             }
 
-            isFull = !(++tiles%width) && (newTile.offsetTop+newTile.offsetHeight*2)>=gameArea.clientHeight;
+            isFull = !(++tiles%width) && (newTile.offsetTop+newTile.offsetHeight*2)>=hGameArea.clientHeight;
         }
         height = hGameArea.childNodes.length/width;
     }