From 69ab236f3f59d9f78799db12983e9c661ca48d51 Mon Sep 17 00:00:00 2001 From: Omar Roth Date: Thu, 30 May 2019 18:34:47 -0500 Subject: [PATCH] Fix typo in '/watch' --- src/invidious/views/watch.ecr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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")) %>',