forked from cybrespace/pinafore
fix CW for boosted statuses
This commit is contained in:
parent
b15ad4b2f7
commit
9453b327b7
|
@ -23,15 +23,15 @@
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
<Avatar account={{originalAccount}} className="status-sidebar"/>
|
<Avatar account={{originalAccount}} className="status-sidebar"/>
|
||||||
{{#if status.spoiler_text}}
|
{{#if originalStatus.spoiler_text}}
|
||||||
<div class="status-spoiler">{{status.spoiler_text}}</div>
|
<div class="status-spoiler">{{originalStatus.spoiler_text}}</div>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
{{#if status.spoiler_text}}
|
{{#if originalStatus.spoiler_text}}
|
||||||
<div class="status-spoiler-button">
|
<div class="status-spoiler-button">
|
||||||
<button type="button" on:click="onClickSpoilerButton()">{{spoilerShown ? 'Show less' : 'Show more'}}</button>
|
<button type="button" on:click="onClickSpoilerButton()">{{spoilerShown ? 'Show less' : 'Show more'}}</button>
|
||||||
</div>
|
</div>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
{{#if !status.spoiler_text || spoilerShown}}
|
{{#if !originalStatus.spoiler_text || spoilerShown}}
|
||||||
<div class="status-content" ref:contentNode>
|
<div class="status-content" ref:contentNode>
|
||||||
{{{emojifiedContent}}}
|
{{{emojifiedContent}}}
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue