From e7eca9a9ed990818ef0081078139a967078b8a80 Mon Sep 17 00:00:00 2001 From: Tomi M Date: Wed, 7 Oct 2015 16:25:47 -0700 Subject: Use ReactBootstrap.Modal instead. --- web/react/components/about_build_modal.jsx | 84 +++++++++++++++--------------- web/react/components/navbar_dropdown.jsx | 17 +++++- 2 files changed, 58 insertions(+), 43 deletions(-) (limited to 'web/react/components') diff --git a/web/react/components/about_build_modal.jsx b/web/react/components/about_build_modal.jsx index 87a58ba97..d582f6bc8 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 ( -