aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
Diffstat (limited to 'ui')
-rw-r--r--ui/responsive/app/components/account-options-menus.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/ui/responsive/app/components/account-options-menus.js b/ui/responsive/app/components/account-options-menus.js
index acaf53c9e..ce2699b38 100644
--- a/ui/responsive/app/components/account-options-menus.js
+++ b/ui/responsive/app/components/account-options-menus.js
@@ -48,17 +48,17 @@ class AccountOptionsMenus extends Component {
'i.fa.fa-ellipsis-h',
{
style: { 'marginLeft': '10px'},
- onClick: () => { this.setState({ switchingMenuActive: !this.state.switchingMenuActive }) }
+ onClick: (event) => {
+ event.stopPropagation();
+ this.setState({ overflowMenuActive: !this.state.overflowMenuActive })
+ }
},
[
h(
Dropdown,
{
isOpen: this.state.overflowMenuActive,
- onClickOutside: (event) => {
- event.stopPropagation();
- this.setState({ overflowMenuActive: false})
- }
+ onClickOutside: () => { this.setState({ overflowMenuActive: false})}
},
[
h(DropdownMenuItem, {