We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4a60d85 + 063ec7a commit a1ff0d0Copy full SHA for a1ff0d0
chapters/jquery/callback-bindings-jquery.md
@@ -16,7 +16,7 @@ $ ->
16
@products = []
17
18
$('.product').click (event) =>
19
- @add $(event.target).attr 'id'
+ @add $(event.currentTarget).attr 'id'
20
21
add: (product) ->
22
@products.push product
0 commit comments