summaryrefslogtreecommitdiffstats
path: root/web/react/components
diff options
context:
space:
mode:
authorChristopher Speller <crspeller@gmail.com>2015-10-15 12:11:08 -0400
committerChristopher Speller <crspeller@gmail.com>2015-10-15 15:00:28 -0400
commit8d630fc3ee6a06b8daeb117a9e166c5dfba55a52 (patch)
tree46625abd1f88a70e4c5774ac37bdd7d10e899768 /web/react/components
parent1571a9a2dfbe6dd3bb598a92f7f62e457b613241 (diff)
downloadchat-8d630fc3ee6a06b8daeb117a9e166c5dfba55a52.tar.gz
chat-8d630fc3ee6a06b8daeb117a9e166c5dfba55a52.tar.bz2
chat-8d630fc3ee6a06b8daeb117a9e166c5dfba55a52.zip
Adding ReactDOM as a global
Diffstat (limited to 'web/react/components')
-rw-r--r--web/react/components/navbar.jsx6
1 files changed, 0 insertions, 6 deletions
diff --git a/web/react/components/navbar.jsx b/web/react/components/navbar.jsx
index b8b634481..f9cd525fd 100644
--- a/web/react/components/navbar.jsx
+++ b/web/react/components/navbar.jsx
@@ -39,12 +39,6 @@ export default class Navbar extends React.Component {
ChannelStore.addChangeListener(this.onChange);
ChannelStore.addExtraInfoChangeListener(this.onChange);
$('.inner__wrap').click(this.hideSidebars);
-
- $('body').on('click.infopopover', function handlePopoverClick(e) {
- if ($(e.target).attr('data-toggle') !== 'popover' && $(e.target).parents('.popover.in').length === 0) {
- $('.info-popover').popover('hide');
- }
- });
}
componentWillUnmount() {
ChannelStore.removeChangeListener(this.onChange);