- 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:
parent
0c32b9a607
commit
b7eecd32a5
1 changed files with 1 additions and 1 deletions
|
@ -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());
|
||||
});
|
||||
|
|
Loading…
Add table
Reference in a new issue