Skip to content

Commit

Permalink
fix: clicking three dots on post opens all dropdowns in `.Post-action…
Browse files Browse the repository at this point in the history
…s` (#3185)
  • Loading branch information
davwheat authored Dec 6, 2021
1 parent dcc9868 commit c219699
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/src/forum/components/Post.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ export default class Post extends Component {
buttonClassName="Button Button--icon Button--flat"
menuClassName="Dropdown-menu--right"
icon="fas fa-ellipsis-h"
onshow={() => this.$('.Post-actions').addClass('open')}
onhide={() => this.$('.Post-actions').removeClass('open')}
onshow={() => this.$('.Post-controls').addClass('open')}
onhide={() => this.$('.Post-controls').removeClass('open')}
accessibleToggleLabel={app.translator.trans('core.forum.post_controls.toggle_dropdown_accessible_label')}
>
{controls}
Expand Down

0 comments on commit c219699

Please sign in to comment.