From 2e5cd3bbfcf54f4fc9a5b3718a296f64051f4769 Mon Sep 17 00:00:00 2001 From: Gleb Lozhkovoy Date: Fri, 8 Jun 2018 17:08:39 +0300 Subject: [PATCH] Fixed win IE download button logic #3 --- src/DownloadButton/index.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/DownloadButton/index.js b/src/DownloadButton/index.js index 56964c58f7..d5d32cc0e4 100644 --- a/src/DownloadButton/index.js +++ b/src/DownloadButton/index.js @@ -82,7 +82,6 @@ export default class DownloadButton extends Component { close = () => this.setState({ open: false }) toggle = () => { - console.dir(`toggle`) this.setState(prevState => ({ open: !prevState.open })) @@ -108,6 +107,7 @@ export default class DownloadButton extends Component { value={link.title} onClick={function(e) { e.target.select() + e.stopPropagation(); }} /> ) @@ -133,8 +133,8 @@ export default class DownloadButton extends Component { const currentOS = links[os] return ( - -