Anonymous callback function
This commit is contained in:
parent
351424b673
commit
788803caa1
1 changed files with 2 additions and 2 deletions
|
@ -6,5 +6,5 @@ $ '.send'
|
|||
contentType: "text/plain",
|
||||
type: "POST"
|
||||
data: $('.chatbox').val()
|
||||
success: _ -> $('#chat-response').text('Success! :)')
|
||||
error: _ -> $('#chat-response').text('Error !1!')
|
||||
success: -> $('#chat-response').text('Success! :)')
|
||||
error: -> $('#chat-response').text('Error !1!')
|
||||
|
|
Loading…
Reference in a new issue