diff options
author | James Taylor <28744867+user234683@users.noreply.github.com> | 2020-10-12 09:37:13 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-12 09:37:13 -0700 |
commit | fd253d9e07fa34e2a22d28d445839147daca9ee0 (patch) | |
tree | 7dfecaadce3cc58ddcc86e2cd9d5ef762563e9ce /youtube/templates/comments.html | |
parent | 37d286fc7ce8feec72d9ecf5d238a42c873de1d0 (diff) | |
parent | 2cfc6dec39ccdcc0c5fe2eea73f47b7040e51833 (diff) | |
download | yt-local-fd253d9e07fa34e2a22d28d445839147daca9ee0.tar.lz yt-local-fd253d9e07fa34e2a22d28d445839147daca9ee0.tar.xz yt-local-fd253d9e07fa34e2a22d28d445839147daca9ee0.zip |
Merge branch 'master' into optional_proxy_images
Diffstat (limited to 'youtube/templates/comments.html')
-rw-r--r-- | youtube/templates/comments.html | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/youtube/templates/comments.html b/youtube/templates/comments.html index f2cdf65..9d93b8c 100644 --- a/youtube/templates/comments.html +++ b/youtube/templates/comments.html @@ -22,7 +22,14 @@ <span class="likes">{{ comment['likes_text'] if comment['like_count'] else ''}}</span> <div class="bottom-row"> - <a href="{{ comment['replies_url'] }}" class="replies">{{ comment['view_replies_text'] }}</a> + {% if settings.use_comments_js and comment['reply_count'] %} + <details class="replies" src="{{ comment['replies_url'] }}"> + <summary>{{ comment['view_replies_text'] }}</summary> + <div class="comment_page">loading..</div> + </details> + {% else %} + <a href="{{ comment['replies_url'] }}" class="replies">{{ comment['view_replies_text'] }}</a> + {% endif %} {% if 'delete_url' is in comment %} <a href="{{ comment['delete_url'] }}" target="_blank">Delete</a> {% endif %} |