We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2ea9863 + da53de2 commit d4acd03Copy full SHA for d4acd03
src/invidious/comments.cr
@@ -596,7 +596,7 @@ def content_to_comment_html(content)
596
length_seconds = watch_endpoint["startTimeSeconds"]?
597
video_id = watch_endpoint["videoId"].as_s
598
599
- if length_seconds && length_seconds.as_i > 0
+ if length_seconds && length_seconds.as_i >= 0
600
text = %(<a href="javascript:void(0)" data-onclick="jump_to_time" data-jump-time="#{length_seconds}">#{text}</a>)
601
else
602
text = %(<a href="/watch?v=#{video_id}">#{"youtube.com/watch?v=#{video_id}"}</a>)
0 commit comments