1
0
mirror of https://github.com/wbbaddons/Tims-Chat.git synced 2024-12-22 21:40:08 +00:00

Merge branch '3.0.x'

This commit is contained in:
Maximilian Mader 2015-09-26 23:32:55 +02:00
commit fe0583566c

View File

@ -202,7 +202,10 @@ and afterwards sent to the server by an AJAX request.
do event.preventDefault do event.preventDefault
text = do $('#timsChatInput').val().trim text = do $('#timsChatInput').val().trim
$('#timsChatInput').val('').focus().change() input = $ '#timsChatInput'
input.val ''
do input.focus
do input.change
return false if text.length is 0 return false if text.length is 0