diff options
Diffstat (limited to 'webapp/components/user_profile.jsx')
-rw-r--r-- | webapp/components/user_profile.jsx | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/webapp/components/user_profile.jsx b/webapp/components/user_profile.jsx index 22d6b6b77..1cd2ef637 100644 --- a/webapp/components/user_profile.jsx +++ b/webapp/components/user_profile.jsx @@ -56,10 +56,6 @@ export default class UserProfile extends React.Component { render() { let name = '...'; let profileImg = ''; - let popoverPosition = 'right'; - if (Utils.isMobile()) { - popoverPosition = 'bottom'; - } if (this.props.user) { name = Utils.displayUsername(this.props.user.id); @@ -78,7 +74,7 @@ export default class UserProfile extends React.Component { <OverlayTrigger ref='overlay' trigger='click' - placement={popoverPosition} + placement='right' rootClose={true} overlay={ <ProfilePopover |