1
0
mirror of https://github.com/wbbaddons/Tims-Chat.git synced 2024-10-31 14:10:08 +00:00

Change fired event in insertText from 'keyup' to 'change'

jCounter listens to this event and updates the counter if this event is fired
This commit is contained in:
Maximilian Mader 2014-04-28 13:59:08 +02:00
parent 79a22b8d56
commit b633f05452

View File

@ -768,8 +768,8 @@ the existing text. If `options.submit` is true the message will be sent to the s
text = $('#timsChatInput').val() + text if options.append text = $('#timsChatInput').val() + text if options.append
$('#timsChatInput').val text $('#timsChatInput').val text
do $('#timsChatInput').keyup $('#timsChatInput').trigger 'change'
if options.submit if options.submit
do $('#timsChatForm').submit do $('#timsChatForm').submit
else else