Moving view source.

pull/744/head
Dessalines 2020-02-29 22:16:52 -05:00
parent 399be2370d
commit 59391b2369
1 changed files with 10 additions and 10 deletions

View File

@ -525,6 +525,16 @@ export class PostListing extends Component<PostListingProps, PostListingState> {
</li>
) : (
<>
{this.props.showBody && post.body && (
<li className="list-inline-item">
<span
className="pointer"
onClick={linkEvent(this, this.handleViewSource)}
>
{i18n.t('view_source')}
</span>
</li>
)}
{this.canModOnSelf && (
<>
<li className="list-inline-item">
@ -747,16 +757,6 @@ export class PostListing extends Component<PostListingProps, PostListingState> {
)}
</>
)}
{this.props.showBody && post.body && (
<li className="list-inline-item">
<span
className="pointer"
onClick={linkEvent(this, this.handleViewSource)}
>
{i18n.t('view_source')}
</span>
</li>
)}
</ul>
{this.state.showRemoveDialog && (
<form