diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2016-10-14 01:03:12 +0200 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2016-10-14 01:03:12 +0200 |
commit | 9b195f5dd34ad646e1300abaaa42e10cf43cd5db (patch) | |
tree | c937a1b1a1df8766203d947856eddac301ce4c3e /app/assets/javascripts | |
parent | 33f7e1cf996b9f87784cb1218885d9acbc718944 (diff) |
Add window titles to auth pages and about page, link sign up/login from about page
Diffstat (limited to 'app/assets/javascripts')
-rw-r--r-- | app/assets/javascripts/components/components/status_content.jsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/assets/javascripts/components/components/status_content.jsx b/app/assets/javascripts/components/components/status_content.jsx index bf1ba54fc..357465248 100644 --- a/app/assets/javascripts/components/components/status_content.jsx +++ b/app/assets/javascripts/components/components/status_content.jsx @@ -22,11 +22,11 @@ const StatusContent = React.createClass({ let mention = this.props.status.get('mentions').find(item => link.href === item.get('url')); if (mention) { - link.addEventListener('click', this.onMentionClick.bind(this, mention)); + link.addEventListener('click', this.onMentionClick.bind(this, mention), false); } else { link.setAttribute('target', '_blank'); link.setAttribute('rel', 'noopener'); - link.addEventListener('click', this.onNormalClick); + link.addEventListener('click', this.onNormalClick, false); } } }, |