Skip to content

Commit

Permalink
fix issue in Chrome where the board offsets weren't computed when app…
Browse files Browse the repository at this point in the history
… is launched from store/apps start page
  • Loading branch information
quentind committed Apr 25, 2013
1 parent 2da724f commit 2e8022e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions _dev/js/game.js
Original file line number Diff line number Diff line change
Expand Up @@ -402,6 +402,8 @@
window.board.offset.top = game.$.play[0].offsetTop;
};

updateOffsets();

/***
* Resize window event handler
*/
Expand Down

0 comments on commit 2e8022e

Please sign in to comment.