1
0
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:
Tim Düsterhus 2012-01-29 15:23:21 +01:00
parent 5684af0b1f
commit 50ec5ad93f

View File

@ -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.
###