Apply suggestions from code review

This commit is contained in:
ulmemxpoc
2024-05-10 11:23:11 -07:00
committed by GitHub
parent f696f96824
commit c4fec89a9b
2 changed files with 2 additions and 2 deletions

View File

@@ -149,7 +149,7 @@ module Invidious::Frontend::Comments
if comments["videoId"]?
html << <<-END_HTML
<a rel="noreferrer noopener" href="#{YT_URL.to_s}/watch?v=#{comments["videoId"]}&lc=#{child["commentId"]}" title="#{translate(locale, "YouTube comment permalink")}">[YT]</a>
<a rel="noreferrer noopener" href="https://www.youtube.com/watch?v=#{comments["videoId"]}&lc=#{child["commentId"]}" title="#{translate(locale, "YouTube comment permalink")}">[YT]</a>
|
END_HTML
elsif comments["authorId"]?