summaryrefslogtreecommitdiffstats
path: root/web/react/components/channel_loader.jsx
diff options
context:
space:
mode:
authorAsaad Mahmood <Unknowngi@live.com>2015-10-15 22:54:15 +0500
committerAsaad Mahmood <Unknowngi@live.com>2015-10-15 22:54:15 +0500
commit95aaa0a08084885c2b0ffb07198d38d5890426ab (patch)
treea2e728c31982b0903919385a56535341cba1ab84 /web/react/components/channel_loader.jsx
parentf09685a37398da7808117b960321a14ab7989da7 (diff)
downloadchat-95aaa0a08084885c2b0ffb07198d38d5890426ab.tar.gz
chat-95aaa0a08084885c2b0ffb07198d38d5890426ab.tar.bz2
chat-95aaa0a08084885c2b0ffb07198d38d5890426ab.zip
Multiple UI Improvements
Diffstat (limited to 'web/react/components/channel_loader.jsx')
-rw-r--r--web/react/components/channel_loader.jsx9
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');