Make profile header scroll along with contents. AccountTimeline, Followers and Following are no longer
nested inside a common parent (<Account>), instead they all embed <HeaderContainer />
This commit is contained in:
parent
a2a85e8549
commit
f21e7d6ac0
14 changed files with 230 additions and 182 deletions
|
@ -80,12 +80,8 @@ const Status = React.createClass({
|
|||
this.props.dispatch(deleteStatus(status.get('id')));
|
||||
},
|
||||
|
||||
handleMentionClick (account) {
|
||||
this.props.dispatch(mentionCompose(account));
|
||||
|
||||
if (isMobile(window.innerWidth)) {
|
||||
this.context.router.push('/statuses/new');
|
||||
}
|
||||
handleMentionClick (account, router) {
|
||||
this.props.dispatch(mentionCompose(account, router));
|
||||
},
|
||||
|
||||
handleOpenMedia (url) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue