I am changing the chat bubble color using the css class with jquery. its working fine when its loaded at the first time. but when we are sending new message this new CSS class is not applying on that.
We play around it and found that if we applied the new CSS class on message:send
event then it will work. so i did that. but its not working on first message send.
When we are sending 2nd message then the first one is updating.
I am using the following codes in the init
and message:send
event.
$('#sk-holder #sk-container #sk-conversation .sk-row.sk-right-row .sk-msg').addClass('newClass');
I am doing it for web only.