From fc176627e6bd2f7c8d48c402083b6cd32b42f1c5 Mon Sep 17 00:00:00 2001 From: zxj96 <35951769+zxj96@users.noreply.github.com> Date: Sat, 11 Jan 2020 14:21:16 +0800 Subject: [PATCH] repair send email bug (#4406) --- frontend/src/components/toolbar/dir-operation-toolbar.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/frontend/src/components/toolbar/dir-operation-toolbar.js b/frontend/src/components/toolbar/dir-operation-toolbar.js index f313d291e2..f693f0485e 100644 --- a/frontend/src/components/toolbar/dir-operation-toolbar.js +++ b/frontend/src/components/toolbar/dir-operation-toolbar.js @@ -94,8 +94,7 @@ class DirOperationToolbar extends React.Component { }); } - onShareClick = (e) => { - e.nativeEvent.stopImmediatePropagation(); //for document event + onShareClick = () => { this.setState({ isShareDialogShow: !this.state.isShareDialogShow });