fix issue described in https://twitter.com/mochizune/status/592271577871417344
This commit is contained in:
parent
ac14fefb3c
commit
5792b59fc7
|
@ -22,7 +22,7 @@ $(document).on "click", "a[data-action=ab-question-destroy]", (ev) ->
|
|||
if btn[0].dataset.redirect != undefined
|
||||
window.location.href = btn[0].dataset.redirect
|
||||
else
|
||||
$("div.answerbox[data-qId=#{qid}], div.questionbox[data-id=#{qid}]").slideUp()
|
||||
$("div.answerbox[data-q-id=#{qid}], div.questionbox[data-id=#{qid}]").slideUp()
|
||||
showNotification data.message, data.success
|
||||
error: (jqxhr, status, error) ->
|
||||
console.log jqxhr, status, error
|
||||
|
|
Loading…
Reference in New Issue