mirror of
https://github.com/wbbaddons/Tims-Chat.git
synced 2024-12-22 21:40: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'
|
$("#timsChatMessageContainer#{userID}").addClass 'active'
|
||||||
$("#timsChatMessageTabMenuAnchor#{userID}").parent().removeClass 'notify'
|
$("#timsChatMessageTabMenuAnchor#{userID}").parent().removeClass 'notify'
|
||||||
$("#timsChatMessageContainer#{userID}").removeClass 'notify'
|
$("#timsChatMessageContainer#{userID}").removeClass 'notify'
|
||||||
if $('#timsChatAutoscroll').data('status')
|
$("#timsChatMessageContainer#{userID}").trigger 'scroll'
|
||||||
do $('#timsChatAutoscroll').click
|
|
||||||
scrollUpNotifications = on
|
|
||||||
|
|
||||||
$('#timsChatMessageTabMenu').wcfTabs 'select', $("#timsChatMessageTabMenuAnchor#{userID}").parent().index()
|
$('#timsChatMessageTabMenu').wcfTabs 'select', $("#timsChatMessageTabMenuAnchor#{userID}").parent().index()
|
||||||
do WCF.DOMNodeInsertedHandler.execute
|
do WCF.DOMNodeInsertedHandler.execute
|
||||||
|
Loading…
Reference in New Issue
Block a user