From: Jason Woofenden Date: Wed, 26 Oct 2011 02:23:37 +0000 (-0400) Subject: dragged cards always brought to front X-Git-Url: https://jasonwoof.com/gitweb/?p=peach-cgt.git;a=commitdiff_plain;h=79d3e474a96013531cce2d8e2d6890aee11cfad9 dragged cards always brought to front --- 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})")