diff options
Diffstat (limited to 'web/react')
-rw-r--r-- | web/react/.eslintrc | 1 | ||||
-rw-r--r-- | web/react/components/navbar.jsx | 6 |
2 files changed, 1 insertions, 6 deletions
diff --git a/web/react/.eslintrc b/web/react/.eslintrc index c4167829d..6a35d3123 100644 --- a/web/react/.eslintrc +++ b/web/react/.eslintrc @@ -19,6 +19,7 @@ }, "globals": { "React": false, + "ReactDOM": false, "ReactBootstrap": false }, "rules": { 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); |