about summary refs log tree commit diff
path: root/app/assets
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2016-10-14 01:03:12 +0200
committerEugen Rochko <eugen@zeonfederated.com>2016-10-14 01:03:12 +0200
commit9b195f5dd34ad646e1300abaaa42e10cf43cd5db (patch)
treec937a1b1a1df8766203d947856eddac301ce4c3e /app/assets
parent33f7e1cf996b9f87784cb1218885d9acbc718944 (diff)
Add window titles to auth pages and about page, link sign up/login from about page
Diffstat (limited to 'app/assets')
-rw-r--r--app/assets/javascripts/components/components/status_content.jsx4
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);
       }
     }
   },