diff options
author | Corey Hulen <corey@hulen.com> | 2015-10-15 11:42:01 -0700 |
---|---|---|
committer | Corey Hulen <corey@hulen.com> | 2015-10-15 11:42:01 -0700 |
commit | 5f1734a3c294d1a6ca453a0b3dbb7f67f97cf4a5 (patch) | |
tree | da20ee242192263e0e0b2077e296876a8e250091 /web/react/components/channel_loader.jsx | |
parent | f09685a37398da7808117b960321a14ab7989da7 (diff) | |
parent | 3d16d64c0ba2233b680e4ded01784a892c63e925 (diff) | |
download | chat-5f1734a3c294d1a6ca453a0b3dbb7f67f97cf4a5.tar.gz chat-5f1734a3c294d1a6ca453a0b3dbb7f67f97cf4a5.tar.bz2 chat-5f1734a3c294d1a6ca453a0b3dbb7f67f97cf4a5.zip |
Merge pull request #1076 from asaadmahmoodspin/ui-improvements
Multiple UI Improvements
Diffstat (limited to 'web/react/components/channel_loader.jsx')
-rw-r--r-- | web/react/components/channel_loader.jsx | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/web/react/components/channel_loader.jsx b/web/react/components/channel_loader.jsx index d0d6ab5e2..270631db2 100644 --- a/web/react/components/channel_loader.jsx +++ b/web/react/components/channel_loader.jsx @@ -75,15 +75,6 @@ export default class ChannelLoader extends React.Component { Utils.applyTheme(Constants.THEMES.default); } - /* Setup global mouse events */ - $('body').on('click', function hidePopover(e) { - $('[data-toggle="popover"]').each(function eachPopover() { - if (!$(this).is(e.target) && $(this).has(e.target).length === 0 && $('.popover').has(e.target).length === 0) { - $(this).popover('hide'); - } - }); - }); - $('body').on('mouseenter mouseleave', '.post', function mouseOver(ev) { if (ev.type === 'mouseenter') { $(this).parent('div').prev('.date-separator, .new-separator').addClass('hovered--after'); |