Skip to content

Commit

Permalink
Scroll top on opening tab
Browse files Browse the repository at this point in the history
  • Loading branch information
marceloschmidt committed Sep 11, 2015
1 parent c6aec50 commit 0720c37
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions client/views/app/flexTabBar.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 0720c37

Please sign in to comment.