X-Git-Url: https://jasonwoof.com/gitweb/?p=peach-cgt.git;a=blobdiff_plain;f=client.coffee;h=205d4ccf2fa49286034379a346f31fbccc3b7b25;hp=e263dfb0890210b587dec5e0715cbefe20f9d1dc;hb=79d3e474a96013531cce2d8e2d6890aee11cfad9;hpb=89e6048a552a90df061f10d78a836358d6782b01 diff --git a/client.coffee b/client.coffee index e263dfb..205d4cc 100644 --- a/client.coffee +++ b/client.coffee @@ -27,7 +27,7 @@ unless Array::shuffle? add_card = (text, x, y) -> card = $ $ "
#{text}
 
" $table.append card - card.draggable() + card.draggable stack: '.card' card.bind 'dragstop', (event, ui) -> p = card.position() card.children().html("(#{p.left}, #{p.top})")