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:
parent
79a22b8d56
commit
b633f05452
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user