mirror of
https://github.com/wbbaddons/Tims-Chat.git
synced 2024-10-31 14:10:08 +00:00
Fix autoscroll when switching channels
This commit is contained in:
parent
4f4ececb6f
commit
dcdaa54ab7
@ -978,9 +978,7 @@ Open private channel
|
||||
$("#timsChatMessageContainer#{userID}").addClass 'active'
|
||||
$("#timsChatMessageTabMenuAnchor#{userID}").parent().removeClass 'notify'
|
||||
$("#timsChatMessageContainer#{userID}").removeClass 'notify'
|
||||
if $('#timsChatAutoscroll').data('status')
|
||||
do $('#timsChatAutoscroll').click
|
||||
scrollUpNotifications = on
|
||||
$("#timsChatMessageContainer#{userID}").trigger 'scroll'
|
||||
|
||||
$('#timsChatMessageTabMenu').wcfTabs 'select', $("#timsChatMessageTabMenuAnchor#{userID}").parent().index()
|
||||
do WCF.DOMNodeInsertedHandler.execute
|
||||
|
Loading…
Reference in New Issue
Block a user