summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorOmar Roth <omarroth@protonmail.com>2019-05-30 18:34:47 -0500
committerOmar Roth <omarroth@protonmail.com>2019-05-30 19:00:38 -0500
commit69ab236f3f59d9f78799db12983e9c661ca48d51 (patch)
treee04303c5f6a88b592c80c3754350d6e2b2b4f79e /src
parent4cf3c6a6162101e5cabb8768b9ebab6655fc2270 (diff)
downloadinvidious-69ab236f3f59d9f78799db12983e9c661ca48d51.tar.gz
invidious-69ab236f3f59d9f78799db12983e9c661ca48d51.tar.bz2
invidious-69ab236f3f59d9f78799db12983e9c661ca48d51.zip
Fix typo in '/watch'
Diffstat (limited to 'src')
-rw-r--r--src/invidious/views/watch.ecr2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/invidious/views/watch.ecr b/src/invidious/views/watch.ecr
index 43d9fe82..5daf211e 100644
--- a/src/invidious/views/watch.ecr
+++ b/src/invidious/views/watch.ecr
@@ -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")) %>',