Permalink
Browse files

Fix check link for new items

  • Loading branch information...
1 parent c482783 commit c59031441db34919ae0b7afb0ca304635c7935eb @aubreyrhodes committed Sep 30, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 web_view/app/assets/javascripts/items.js.coffee
@@ -20,7 +20,7 @@ $ ->
$.post('/items', { item: val})
)
- $('.item a.check').on('click', ->
+ $('.items-list').on('click', '.check', ->
item = $(this).parents('.item')
val = $('.text', item).text()
$.post('/items/check', { item: val, _method: 'put' })

0 comments on commit c590314

Please sign in to comment.