mirror of
https://github.com/wbbaddons/Tims-Chat.git
synced 2024-12-22 21:40:08 +00:00
Fixing issue with scroll disabler
This commit is contained in:
parent
5684af0b1f
commit
50ec5ad93f
@ -116,6 +116,8 @@ TimWolla.WCF ?= {}
|
||||
$('#chatClear').click (event) ->
|
||||
event.preventDefault()
|
||||
$('.chatMessage').remove()
|
||||
@oldScrollTop = $('.chatMessageContainer').scrollTop()
|
||||
$('.chatMessageContainer').scrollTop $('.chatMessageContainer ul').height()
|
||||
$('#chatInput').focus()
|
||||
|
||||
# Toggle Buttons
|
||||
@ -343,7 +345,7 @@ TimWolla.WCF ?= {}
|
||||
notification.show()
|
||||
setTimeout(() ->
|
||||
notification.cancel()
|
||||
, 5000)
|
||||
, 5e3)
|
||||
###
|
||||
# Refreshes the room-list.
|
||||
###
|
||||
|
Loading…
Reference in New Issue
Block a user