mirror of
https://gitea.invidious.io/iv-org/invidious-copy-2022-03-16.git
synced 2024-08-15 00:53:18 +00:00
Fix template_comments and comments with formatting
This commit is contained in:
parent
964a9e2abd
commit
c07016b45c
2 changed files with 10 additions and 8 deletions
|
@ -519,12 +519,13 @@ def template_youtube_comments(comments)
|
|||
if child["replies"]?
|
||||
replies_html = <<-END_HTML
|
||||
<div id="replies" class="pure-g">
|
||||
<div class="pure-u-md-1-24"></div>
|
||||
<div class="pure-u-md-23-24">
|
||||
<p>
|
||||
<a href="javascript:void(0)" data-continuation="#{child["replies"]["continuation"]}"
|
||||
onclick="load_comments(this)">View #{child["replies"]["replyCount"]} replies</a>
|
||||
</p>
|
||||
<div class="pure-u-md-1-24"></div>
|
||||
<div class="pure-u-md-23-24">
|
||||
<p>
|
||||
<a href="javascript:void(0)" data-continuation="#{child["replies"]["continuation"]}"
|
||||
onclick="load_comments(this)">View #{child["replies"]["replyCount"]} replies</a>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
END_HTML
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue