From e7eca9a9ed990818ef0081078139a967078b8a80 Mon Sep 17 00:00:00 2001 From: Tomi M Date: Wed, 7 Oct 2015 16:25:47 -0700 Subject: [PATCH] Use ReactBootstrap.Modal instead. --- web/react/components/about_build_modal.jsx | 84 +++++++++++----------- web/react/components/navbar_dropdown.jsx | 17 ++++- web/react/pages/channel.jsx | 6 -- web/templates/channel.html | 1 - 4 files changed, 58 insertions(+), 50 deletions(-) diff --git a/web/react/components/about_build_modal.jsx b/web/react/components/about_build_modal.jsx index 87a58ba970..d582f6bc84 100644 --- a/web/react/components/about_build_modal.jsx +++ b/web/react/components/about_build_modal.jsx @@ -1,60 +1,62 @@ // Copyright (c) 2015 Spinpunch, Inc. All Rights Reserved. // See License.txt for license information. +var Modal = ReactBootstrap.Modal; + export default class AboutBuildModal extends React.Component { + constructor(props) { + super(props); + this.doHide = this.doHide.bind(this); + } + + doHide() { + this.props.onModalDismissed(); + } + render() { const config = global.window.config; return ( -