diff options
author | Asaad Mahmood <Unknowngi@live.com> | 2015-08-05 22:29:44 +0500 |
---|---|---|
committer | Asaad Mahmood <Unknowngi@live.com> | 2015-08-05 22:29:44 +0500 |
commit | 331ab2acfc16d5dcfe8ea1be94e5015506b9186b (patch) | |
tree | e53db2b7c0b74ef4c4d416286abc1dca2f9b5a62 /web/react | |
parent | 140faa6bb66b3c61771c2cca738a47234ebff0c8 (diff) | |
download | chat-331ab2acfc16d5dcfe8ea1be94e5015506b9186b.tar.gz chat-331ab2acfc16d5dcfe8ea1be94e5015506b9186b.tar.bz2 chat-331ab2acfc16d5dcfe8ea1be94e5015506b9186b.zip |
Adding tooltip to email in user popover
Diffstat (limited to 'web/react')
-rw-r--r-- | web/react/components/user_profile.jsx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/web/react/components/user_profile.jsx b/web/react/components/user_profile.jsx index f7e1a6257..5c4d26a23 100644 --- a/web/react/components/user_profile.jsx +++ b/web/react/components/user_profile.jsx @@ -28,6 +28,7 @@ module.exports = React.createClass({ componentDidMount: function() { UserStore.addChangeListener(this._onChange); $("#profile_" + this.uniqueId).popover({placement : 'right', container: 'body', trigger: 'hover', html: true, delay: { "show": 200, "hide": 100 }}); + $('body').tooltip( {selector: '[data-toggle=tooltip]', trigger: 'hover click'} ); }, componentWillUnmount: function() { UserStore.removeChangeListener(this._onChange); |