mirror of
https://gitea.invidious.io/iv-org/invidious-copy-2022-08-14.git
synced 2024-08-15 00:53:20 +00:00
Fix typo in '/watch'
This commit is contained in:
parent
4cf3c6a616
commit
69ab236f3f
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue