mirror of
https://gitea.invidious.io/iv-org/invidious-copy-2022-08-14.git
synced 2024-08-15 00:53:20 +00:00
Fix comments
"ReplyCount" is actually an Int, not a String.
This commit is contained in:
parent
aa0724f204
commit
8b72481b8c
1 changed files with 1 additions and 1 deletions
|
@ -305,7 +305,7 @@ def template_youtube_comments(comments, locale, thin_mode, is_replies = false)
|
|||
if child["replies"]?
|
||||
replies_count_text = translate_count(locale,
|
||||
"comments_view_x_replies",
|
||||
child["replies"]["replyCount"].as_s.to_i? || 0,
|
||||
child["replies"]["replyCount"].as_i64 || 0,
|
||||
NumberFormatting::Separator
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in a new issue