Help
User avatar
Free
5 Posts

Tickets by User

Ticket By bato3 14 Sep 2017, 06:04

Description:
On every adding message in function showTimeAndTooltip / showChatroomTime are called evet registration.
For example:
I'm send image, and AC register slimbox for full size.
Next I send text message, but AC register again slimbox for pervious send image.
After 10 messages I have 11 event listeners. (see screenshot)
After "100" messages browser consume many memory, is unstabile and crash.

Possible solutions:
a. Register once, and delegate http://api.jquery.com/on/#on-events-selector-data
b. Use context for selectors: https://api.jquery.com/jQuery/#jQuery-selector-context


Next place: $(#arrowchat_chatroom_upload_queue") - On every send image (from disc) is registered drag* events (from library) (chatroomUploadProcessing cal self by onUploadComplete)

Next: $(".arrowchat_chatroom_popout") - On every channel switch register mouseout/over

PS. how connect my account to license owner account?

Component:
Chat Bar

ArrowChat Version:
2.0.x

Status Change

Changed ticket status from "New" to "Fix completed"
Action performed by Jason ยป 26 Oct 2017, 14:34