diff options
author | Asaad Mahmood <Unknowngi@live.com> | 2015-09-25 18:54:02 +0500 |
---|---|---|
committer | Asaad Mahmood <Unknowngi@live.com> | 2015-09-25 18:54:02 +0500 |
commit | 3cf729dcaa27bb98c8eae963a86f5a79fa0b20be (patch) | |
tree | 82cfacc0e61fa7a55df7ea01dad7f78746056a4c /web/react/components/user_profile.jsx | |
parent | 7964150cb20bd8786db018a6639b6d092a01e1f7 (diff) | |
download | chat-3cf729dcaa27bb98c8eae963a86f5a79fa0b20be.tar.gz chat-3cf729dcaa27bb98c8eae963a86f5a79fa0b20be.tar.bz2 chat-3cf729dcaa27bb98c8eae963a86f5a79fa0b20be.zip |
Using react tooltip for timestamp in center channel instead of normal bootstrap
Diffstat (limited to 'web/react/components/user_profile.jsx')
-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 61bf647ca..c5d028d31 100644 --- a/web/react/components/user_profile.jsx +++ b/web/react/components/user_profile.jsx @@ -32,6 +32,7 @@ export default class UserProfile extends React.Component { componentDidMount() { 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() { UserStore.removeChangeListener(this.onChange); |