Skip to content

Commit

Permalink
Fix Rocket.Chat.Cordova issue #15.
Browse files Browse the repository at this point in the history
  • Loading branch information
marceloschmidt committed Nov 25, 2015
1 parent d63f019 commit df525d6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
1 change: 1 addition & 0 deletions packages/rocketchat-lib/client/lib/openRoom.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ currentTracker = undefined
if roomDom.classList.contains('room-container')
roomDom.querySelector('.messages-box > .wrapper').scrollTop = roomDom.oldScrollTop

RocketChat.TabBar.setTemplate ''
Session.set 'openedRoom', room._id

Session.set 'editRoomTitle', false
Expand Down
10 changes: 6 additions & 4 deletions packages/rocketchat-ui/views/app/room.html
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,10 @@ <h2>
{{> messageBox}}
</footer>
</section>
<section class="flex-tab">
{{> Template.dynamic template=flexTemplate data=flexData}}
</section>
{{#if flexTemplate}}
<section class="flex-tab">
{{> Template.dynamic template=flexTemplate data=flexData}}
</section>
{{/if}}
</div>
</template>
</template>

0 comments on commit df525d6

Please sign in to comment.