- using the div.board-outline height seems to be the most accurate .offset() on a floating element didn't return the right results, I assume a margin/padding/position issue is to blame but this works too.

This commit is contained in:
Ned Kahvo 2011-06-06 23:18:12 -04:00
parent 0c32b9a607
commit b7eecd32a5

View file

@ -609,7 +609,7 @@ $(function() {
createCard(
'card' + uniqueID,
'',
58, 460,
58, $('div.board-outline').height(),// hack - not a great way to get the new card coordinates, but most consistant ATM
rotation,
randomCardColour());
});