Skip to content

Commit

Permalink
Merge pull request #8244 from RocketChat/disable-perfect-scrollbar
Browse files Browse the repository at this point in the history
Disable perfect scrollbar
  • Loading branch information
rodrigok committed Sep 23, 2017
1 parent 343c134 commit 8e10974
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
6 changes: 3 additions & 3 deletions packages/rocketchat-ui-account/client/accountFlex.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ Template.accountFlex.events({
}
});

Template.accountFlex.onRendered(function() {
$(this.find('.rooms-list')).perfectScrollbar();
});
// Template.accountFlex.onRendered(function() {
// $(this.find('.rooms-list')).perfectScrollbar();
// });

Template.accountFlex.helpers({
allowUserProfileChange() {
Expand Down
6 changes: 3 additions & 3 deletions packages/rocketchat-ui-admin/client/adminFlex.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ const label = function() {
return TAPi18n.__(this.i18nLabel || this._id);
};

Template.adminFlex.onRendered(function() {
$(this.find('.rooms-list')).perfectScrollbar();
});
// Template.adminFlex.onRendered(function() {
// $(this.find('.rooms-list')).perfectScrollbar();
// });

Template.adminFlex.helpers({
groups() {
Expand Down
6 changes: 3 additions & 3 deletions packages/rocketchat-ui-sidenav/client/roomList.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,9 @@ Template.roomList.helpers({
}
});

Template.roomList.onRendered(function() {
$(this.firstNode.parentElement).perfectScrollbar();
});
// Template.roomList.onRendered(function() {
// $(this.firstNode.parentElement).perfectScrollbar();
// });

Template.roomList.events({
'click .more'(e, t) {
Expand Down
2 changes: 1 addition & 1 deletion packages/rocketchat-ui/client/views/app/room.js
Original file line number Diff line number Diff line change
Expand Up @@ -800,7 +800,7 @@ Template.room.onDestroyed(function() {
});

Template.room.onRendered(function() {
$(this.find('.messages-box .wrapper')).perfectScrollbar();
// $(this.find('.messages-box .wrapper')).perfectScrollbar();
const rid = Session.get('openedRoom');
if (!window.chatMessages[rid]) {
window.chatMessages[rid] = new ChatMessages;
Expand Down

0 comments on commit 8e10974

Please sign in to comment.