Skip to content

Commit 68ac18d

Browse files
committed
Remove useless call
Follow this comment : #2936 (comment)
1 parent 19805b9 commit 68ac18d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/invidious/comments.cr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -599,7 +599,7 @@ def content_to_comment_html(content)
599599
if length_seconds && length_seconds.as_i > 0
600600
text = %(<a href="javascript:void(0)" data-onclick="jump_to_time" data-jump-time="#{length_seconds}">#{text}</a>)
601601
else
602-
text = %(<a href="/watch?v=#{video_id}">#{reduce_uri("youtube.com/watch?v=#{video_id}")}</a>)
602+
text = %(<a href="/watch?v=#{video_id}">#{"youtube.com/watch?v=#{video_id}"}</a>)
603603
end
604604
elsif url = run.dig?("navigationEndpoint", "commandMetadata", "webCommandMetadata", "url").try &.as_s
605605
text = %(<a href="#{url}">#{reduce_uri(url)}</a>)

0 commit comments

Comments
 (0)