diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2017-02-09 22:47:28 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2017-02-09 22:47:28 +0900 |
| commit | ac335cabf01ba56391c382f05fb9d47d45163752 (patch) | |
| tree | 7c6eb9af29f852d00f3916d26f6739e711df4c93 /src/web | |
| parent | Method and property support (diff) | |
| download | misskey-ac335cabf01ba56391c382f05fb9d47d45163752.tar.gz misskey-ac335cabf01ba56391c382f05fb9d47d45163752.tar.bz2 misskey-ac335cabf01ba56391c382f05fb9d47d45163752.zip | |
[Client] Fix bug
Diffstat (limited to 'src/web')
| -rw-r--r-- | src/web/app/desktop/tags/timeline-post.tag | 7 | ||||
| -rw-r--r-- | src/web/app/mobile/tags/timeline-post.tag | 7 |
2 files changed, 10 insertions, 4 deletions
diff --git a/src/web/app/desktop/tags/timeline-post.tag b/src/web/app/desktop/tags/timeline-post.tag index aed60f0011..be772097e9 100644 --- a/src/web/app/desktop/tags/timeline-post.tag +++ b/src/web/app/desktop/tags/timeline-post.tag @@ -34,7 +34,7 @@ <a class="reply" if={ p.reply_to }> <i class="fa fa-reply"></i> </a> - <p>DUMMY</p> + <p class="dummy"></p> <a class="quote" if={ p.repost != null }>RP:</a> </div> <div class="media" if={ p.media }> @@ -216,6 +216,9 @@ font-size 1.1em color #717171 + > .dummy + display none + mk-url-preview margin-top 8px @@ -312,7 +315,7 @@ then @analyze @p._highlight 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 else @compile tokens diff --git a/src/web/app/mobile/tags/timeline-post.tag b/src/web/app/mobile/tags/timeline-post.tag index 42dbf1ab72..006136b2e4 100644 --- a/src/web/app/mobile/tags/timeline-post.tag +++ b/src/web/app/mobile/tags/timeline-post.tag @@ -21,7 +21,7 @@ <a class="reply" if={ p.reply_to }> <i class="fa fa-reply"></i> </a> - <p>DUMMY</p> + <p class="dummy"></p> <a class="quote" if={ p.repost != null }>RP:</a> </div> <div class="media" if={ p.media }> @@ -195,6 +195,9 @@ font-size 1.1em color #717171 + > .dummy + display none + mk-url-preview margin-top 8px @@ -282,7 +285,7 @@ then @analyze @p._highlight 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 else @compile tokens |