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

Fix formatting

This commit is contained in:
Maximilian Mader 2013-06-24 18:11:55 +02:00
parent 1b077719b8
commit d5a2bcf7d9

View File

@ -421,8 +421,8 @@ Insert the given messages into the chat stream.
if createNewMessage if createNewMessage
message.isFollowUp = no message.isFollowUp = no
output = v.messageTemplate.fetch output = v.messageTemplate.fetch
'message': message message: message
'messageTypes': v.config.messageTypes messageTypes: v.config.messageTypes
li = $ '<li></li>' li = $ '<li></li>'
li.addClass 'timsChatMessage' li.addClass 'timsChatMessage'
@ -435,8 +435,8 @@ Insert the given messages into the chat stream.
else else
message.isFollowUp = yes message.isFollowUp = yes
output = v.messageTemplate.fetch output = v.messageTemplate.fetch
'message': message message: message
'messageTypes': v.config.messageTypes messageTypes: v.config.messageTypes
$('.timsChatMessage:last-child .text').append $(output).find('.text li:last-child') $('.timsChatMessage:last-child .text').append $(output).find('.text li:last-child')