Invidious is an alternative front-end to YouTube
Remove useless call
Féry Mathieu (Mathius)68ac18dc9876
diff --git a/src/invidious/comments.cr b/src/invidious/comments.crindex 1fd3dcfd..66cbc4fc 100644--- a/src/invidious/comments.cr+++ b/src/invidious/comments.cr@@ -599,7 +599,7 @@ def content_to_comment_html(content)if length_seconds && length_seconds.as_i > 0text = %(<a href="javascript:void(0)" data-onclick="jump_to_time" data-jump-time="#{length_seconds}">#{text}</a>)else- text = %(<a href="/watch?v=#{video_id}">#{reduce_uri("youtube.com/watch?v=#{video_id}")}</a>)+ text = %(<a href="/watch?v=#{video_id}">#{"youtube.com/watch?v=#{video_id}"}</a>)endelsif url = run.dig?("navigationEndpoint", "commandMetadata", "webCommandMetadata", "url").try &.as_stext = %(<a href="#{url}">#{reduce_uri(url)}</a>)