Skip to content

Commit

Permalink
Fix: #205 投稿の編集履歴一覧ポップアップが表示できない (#260)
Browse files Browse the repository at this point in the history
  • Loading branch information
kmycode authored Nov 9, 2023
1 parent d3b9f72 commit 1da7f6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/javascript/mastodon/components/dropdown_menu.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ class Dropdown extends PureComponent {
};

findTarget = () => {
return this.target?.buttonRef?.current;
return this.target?.buttonRef?.current || this.target; // kmyblue fixed
};

componentWillUnmount = () => {
Expand Down

0 comments on commit 1da7f6f

Please sign in to comment.