From d3fd017e69943adf364a0459d3c28179a97835ff Mon Sep 17 00:00:00 2001 From: Asaad Mahmood Date: Mon, 30 Nov 2015 22:39:01 +0500 Subject: Improving image modal and removing console log --- web/react/components/sidebar.jsx | 1 - web/react/components/view_image.jsx | 3 ++- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'web/react') diff --git a/web/react/components/sidebar.jsx b/web/react/components/sidebar.jsx index 73733b6c1..b4c037183 100644 --- a/web/react/components/sidebar.jsx +++ b/web/react/components/sidebar.jsx @@ -203,7 +203,6 @@ export default class Sidebar extends React.Component { windowWidth: Utils.windowWidth(), windowHeight: Utils.windowHeight() }); - console.log('sad'); } updateScrollbar() { } diff --git a/web/react/components/view_image.jsx b/web/react/components/view_image.jsx index 50befb41f..2b505607e 100644 --- a/web/react/components/view_image.jsx +++ b/web/react/components/view_image.jsx @@ -424,11 +424,12 @@ export default class ViewImageModal extends React.Component { >
e.stopPropagation()} + onClick={this.props.onModalDismissed} >
e.stopPropagation()} >