File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -223,7 +223,7 @@ def get(self):
223
223
else :
224
224
User .buyFor (self .current_user .id )
225
225
##TODOFIX
226
- self .redirect ("/campaign " )
226
+ self .redirect ("/play " )
227
227
228
228
229
229
class SaveVolumeHandler (BaseHandler ):
Original file line number Diff line number Diff line change @@ -495,6 +495,9 @@ window.gameon = new (function () {
495
495
tile . getRenderedTile = function ( ) {
496
496
return boardSelf . getRenderedTile ( this . yPos , this . xPos )
497
497
} ;
498
+ tile . getRenderedCell = function ( ) {
499
+ return boardSelf . getRenderedCell ( this . yPos , this . xPos )
500
+ } ;
498
501
} ;
499
502
500
503
boardSelf . getY = function ( i ) {
@@ -582,6 +585,10 @@ window.gameon = new (function () {
582
585
return $ ( '[data-yx="' + boardSelf . name + '-' + y + '-' + x + '"]' ) ;
583
586
} ;
584
587
588
+ boardSelf . getRenderedCell = function ( y , x ) {
589
+ return boardSelf . getRenderedTile ( y , x ) . parent ( 'td' ) ;
590
+ } ;
591
+
585
592
boardSelf . click = function ( elm ) {
586
593
var yx = $ ( elm ) . attr ( 'data-yx' ) . split ( '-' ) ;
587
594
var y = + yx [ 1 ] ;
You can’t perform that action at this time.
0 commit comments