Fix typo in '/watch'

このコミットが含まれているのは:
Omar Roth 2019-05-30 18:34:47 -05:00
コミット 69ab236f3f
この署名に対応する既知のキーがデータベースに存在しません
GPGキーID: B8254FB7EC3D37F2
1個のファイルの変更1行の追加1行の削除

ファイルの表示

@ -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")) %>',