mirror of
https://github.com/iv-org/invidious.git
synced 2024-11-22 13:37:24 +00:00
Fix typo in '/watch'
This commit is contained in:
parent
4cf3c6a616
commit
69ab236f3f
@ -30,7 +30,7 @@
|
|||||||
var video_data = {
|
var video_data = {
|
||||||
id: '<%= video.id %>',
|
id: '<%= video.id %>',
|
||||||
plid: '<%= plid %>',
|
plid: '<%= plid %>',
|
||||||
length_seconds: '<%= video.info["length_seconds"].to_f %>',
|
length_seconds: <%= video.info["length_seconds"].to_f %>,
|
||||||
play_next: <%= !rvs.empty? && !plid && params.continue %>,
|
play_next: <%= !rvs.empty? && !plid && params.continue %>,
|
||||||
next_video: '<%= rvs.select { |rv| rv["id"]? }[0]?.try &.["id"] %>',
|
next_video: '<%= rvs.select { |rv| rv["id"]? }[0]?.try &.["id"] %>',
|
||||||
youtube_comments_text: '<%= HTML.escape(translate(locale, "View YouTube comments")) %>',
|
youtube_comments_text: '<%= HTML.escape(translate(locale, "View YouTube comments")) %>',
|
||||||
|
Loading…
Reference in New Issue
Block a user