diff --git a/app/javascript/mastodon/components/status.js b/app/javascript/mastodon/components/status.js index 3125e75a4..e0992176d 100644 --- a/app/javascript/mastodon/components/status.js +++ b/app/javascript/mastodon/components/status.js @@ -186,12 +186,11 @@ class Status extends ImmutablePureComponent { } handleAccountClick = (e, proper = true) => { - // if (this.context.router && e.button === 0 && !(e.ctrlKey || e.metaKey)) { - // const id = e.currentTarget.getAttribute('data-id'); - // e.preventDefault(); - // this.context.router.history.push(`/accounts/${id}`); - // } - this._openProfile(proper); + if (this.context.router && e.button === 0 && !(e.ctrlKey || e.metaKey)) { + const id = e.currentTarget.getAttribute('data-id'); + e.preventDefault(); + this._openProfile(proper); + } } handleQuoteClick = () => {