Fix typo in '/watch'

This commit is contained in:
Omar Roth 2019-05-30 18:34:47 -05:00
parent 4cf3c6a616
commit 69ab236f3f
No known key found for this signature in database
GPG key ID: B8254FB7EC3D37F2

View file

@ -30,7 +30,7 @@
var video_data = {
id: '<%= video.id %>',
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 %>,
next_video: '<%= rvs.select { |rv| rv["id"]? }[0]?.try &.["id"] %>',
youtube_comments_text: '<%= HTML.escape(translate(locale, "View YouTube comments")) %>',