From 331ab2acfc16d5dcfe8ea1be94e5015506b9186b Mon Sep 17 00:00:00 2001 From: Asaad Mahmood Date: Wed, 5 Aug 2015 22:29:44 +0500 Subject: Adding tooltip to email in user popover --- web/react/components/user_profile.jsx | 1 + 1 file changed, 1 insertion(+) (limited to 'web/react/components') 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); -- cgit v1.2.3-1-g7c22