diff options
author | mayaeh <mayaeh@marimo-net.org> | 2018-04-20 21:58:33 +0900 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2018-04-20 14:58:33 +0200 |
commit | ee2e0f694a2ebd403834e55192897d5995a20cf4 (patch) | |
tree | 4d24c627eaf3a017d8e06267ab4b8c239fd0bc82 /app/javascript/mastodon/components/dropdown_menu.js | |
parent | 4e35ce82691dff9cd81dae2f0e2f566f6f3ef85c (diff) |
Fix #6157: boosting own private toots (#7200)
* Fix boosting own private toots. * Run yarn manage:translations and update Japanese translations.
Diffstat (limited to 'app/javascript/mastodon/components/dropdown_menu.js')
-rw-r--r-- | app/javascript/mastodon/components/dropdown_menu.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/javascript/mastodon/components/dropdown_menu.js b/app/javascript/mastodon/components/dropdown_menu.js index c5c6f73b3..982d34718 100644 --- a/app/javascript/mastodon/components/dropdown_menu.js +++ b/app/javascript/mastodon/components/dropdown_menu.js @@ -63,7 +63,7 @@ class DropdownMenu extends React.PureComponent { if (typeof action === 'function') { e.preventDefault(); - action(); + action(e); } else if (to) { e.preventDefault(); this.context.router.history.push(to); |