Skip to content

Commit

Permalink
fix action button (#20881)
Browse files Browse the repository at this point in the history
  • Loading branch information
Douglas Fabris authored Mar 24, 2021
1 parent b543d0c commit a92800b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions app/theme/client/imports/general/base_old.css
Original file line number Diff line number Diff line change
Expand Up @@ -2041,6 +2041,7 @@

&:not(.message--ignored) .title {
left: 5px;

width: 60px;
}

Expand Down
4 changes: 2 additions & 2 deletions client/views/room/contextualBar/Threads/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -118,14 +118,14 @@ export function withData(WrappedComponent) {
};
}

const handleFollowButton = (e, mid) => {
const handleFollowButton = (e, threadId) => {
e.preventDefault();
e.stopPropagation();
call(
![true, 'true'].includes(e.currentTarget.dataset.following)
? 'followMessage'
: 'unfollowMessage',
{ mid },
{ mid: threadId },
);
};

Expand Down

0 comments on commit a92800b

Please sign in to comment.