fix CW for boosted statuses

This commit is contained in:
Nolan Lawson 2018-01-23 18:25:05 -08:00
parent b15ad4b2f7
commit 9453b327b7
1 changed files with 4 additions and 4 deletions

View File

@ -23,15 +23,15 @@
</a>
</div>
<Avatar account={{originalAccount}} className="status-sidebar"/>
{{#if status.spoiler_text}}
<div class="status-spoiler">{{status.spoiler_text}}</div>
{{#if originalStatus.spoiler_text}}
<div class="status-spoiler">{{originalStatus.spoiler_text}}</div>
{{/if}}
{{#if status.spoiler_text}}
{{#if originalStatus.spoiler_text}}
<div class="status-spoiler-button">
<button type="button" on:click="onClickSpoilerButton()">{{spoilerShown ? 'Show less' : 'Show more'}}</button>
</div>
{{/if}}
{{#if !status.spoiler_text || spoilerShown}}
{{#if !originalStatus.spoiler_text || spoilerShown}}
<div class="status-content" ref:contentNode>
{{{emojifiedContent}}}
</div>