diff options
Diffstat (limited to 'web/react/components')
-rw-r--r-- | web/react/components/sidebar.jsx | 1 | ||||
-rw-r--r-- | web/react/components/view_image.jsx | 3 |
2 files changed, 2 insertions, 2 deletions
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 { > <div className={'image-wrapper ' + bgClass} - onClick={(e) => e.stopPropagation()} + onClick={this.props.onModalDismissed} > <div onMouseEnter={this.onMouseEnterImage} onMouseLeave={this.onMouseLeaveImage} + onClick={(e) => e.stopPropagation()} > <div className={closeButtonClass} |