mirror of
https://github.com/wbbaddons/Tims-Chat.git
synced 2024-12-22 21:40:08 +00:00
parent
e7b6bae348
commit
f880427c54
@ -370,10 +370,9 @@ Fetch new messages from the server and pass them to `handleMessages`. The userli
|
||||
type: 'POST'
|
||||
success: (data) ->
|
||||
remainingFailures = 3
|
||||
WCF.DOMNodeInsertedHandler.enable()
|
||||
handleMessages data.messages
|
||||
handleUsers data.users
|
||||
WCF.DOMNodeInsertedHandler.disable()
|
||||
WCF.DOMNodeInsertedHandler.execute()
|
||||
error: ->
|
||||
console.error "Message loading failed, #{--remainingFailures} remaining"
|
||||
if remainingFailures <= 0
|
||||
|
Loading…
Reference in New Issue
Block a user