Skip to content
Snippets Groups Projects
Commit 0720c37b authored by Marcelo Schmidt's avatar Marcelo Schmidt
Browse files

Scroll top on opening tab

parent c6aec506
No related branches found
No related tags found
No related merge requests found
......@@ -13,6 +13,7 @@ Template.flexTabBar.events
else
RocketChat.TabBar.setTemplate $(e.currentTarget).data('template'), ->
$('.flex-tab')?.find("input[type='text']:first")?.focus()
$('.flex-tab .content')?.scrollTop(0)
# if Session.get('flexOpened') and Session.equals('whichFlexOpened', $(e.currentTarget).data('target'))
# Session.set('rtcLayoutmode', 0)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment