[Client] Fix bug
This commit is contained in:
parent
4cabbe1668
commit
ac335cabf0
|
@ -34,7 +34,7 @@
|
||||||
<a class="reply" if={ p.reply_to }>
|
<a class="reply" if={ p.reply_to }>
|
||||||
<i class="fa fa-reply"></i>
|
<i class="fa fa-reply"></i>
|
||||||
</a>
|
</a>
|
||||||
<p>DUMMY</p>
|
<p class="dummy"></p>
|
||||||
<a class="quote" if={ p.repost != null }>RP:</a>
|
<a class="quote" if={ p.repost != null }>RP:</a>
|
||||||
</div>
|
</div>
|
||||||
<div class="media" if={ p.media }>
|
<div class="media" if={ p.media }>
|
||||||
|
@ -216,6 +216,9 @@
|
||||||
font-size 1.1em
|
font-size 1.1em
|
||||||
color #717171
|
color #717171
|
||||||
|
|
||||||
|
> .dummy
|
||||||
|
display none
|
||||||
|
|
||||||
mk-url-preview
|
mk-url-preview
|
||||||
margin-top 8px
|
margin-top 8px
|
||||||
|
|
||||||
|
@ -312,7 +315,7 @@
|
||||||
then @analyze @p._highlight
|
then @analyze @p._highlight
|
||||||
else @analyze @p.text
|
else @analyze @p.text
|
||||||
|
|
||||||
@refs.text.innerHTML = @refs.text.innerHTML.replace \<p>DUMMY</p> if @p._highlight?
|
@refs.text.innerHTML = @refs.text.innerHTML.replace '<p class="dummy"></p>' if @p._highlight?
|
||||||
then @compile tokens, true, false
|
then @compile tokens, true, false
|
||||||
else @compile tokens
|
else @compile tokens
|
||||||
|
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
<a class="reply" if={ p.reply_to }>
|
<a class="reply" if={ p.reply_to }>
|
||||||
<i class="fa fa-reply"></i>
|
<i class="fa fa-reply"></i>
|
||||||
</a>
|
</a>
|
||||||
<p>DUMMY</p>
|
<p class="dummy"></p>
|
||||||
<a class="quote" if={ p.repost != null }>RP:</a>
|
<a class="quote" if={ p.repost != null }>RP:</a>
|
||||||
</div>
|
</div>
|
||||||
<div class="media" if={ p.media }>
|
<div class="media" if={ p.media }>
|
||||||
|
@ -195,6 +195,9 @@
|
||||||
font-size 1.1em
|
font-size 1.1em
|
||||||
color #717171
|
color #717171
|
||||||
|
|
||||||
|
> .dummy
|
||||||
|
display none
|
||||||
|
|
||||||
mk-url-preview
|
mk-url-preview
|
||||||
margin-top 8px
|
margin-top 8px
|
||||||
|
|
||||||
|
@ -282,7 +285,7 @@
|
||||||
then @analyze @p._highlight
|
then @analyze @p._highlight
|
||||||
else @analyze @p.text
|
else @analyze @p.text
|
||||||
|
|
||||||
@refs.text.innerHTML = @refs.text.innerHTML.replace \<p>DUMMY</p> if @p._highlight?
|
@refs.text.innerHTML = @refs.text.innerHTML.replace '<p class="dummy"></p>' if @p._highlight?
|
||||||
then @compile tokens, true, false
|
then @compile tokens, true, false
|
||||||
else @compile tokens
|
else @compile tokens
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue