Add window titles to auth pages and about page, link sign up/login from about page
This commit is contained in:
parent
33f7e1cf99
commit
9b195f5dd3
8 changed files with 25 additions and 3 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue