Retrospring/app/javascript/legacy/answerbox/comment/report.coffee

6 lines
186 B
CoffeeScript
Raw Normal View History

$(document).on "click", "a[data-action=ab-comment-report]", (ev) ->
ev.preventDefault()
2015-01-03 10:49:47 -08:00
btn = $(this)
cid = btn[0].dataset.cId
2015-04-21 19:59:10 -07:00
reportDialog "comment", cid, -> btn.button "reset"