Request Reddit comm when yt disabled during nojs=1

This commit is contained in:
syeopite
2023-09-17 12:41:37 -07:00
parent e0807139eb
commit f1785170f0
3 changed files with 20 additions and 11 deletions

View File

@@ -80,7 +80,8 @@ module Invidious::Routes::Watch
if nojs
if preferences
source = preferences.comments[0]
source = video.comments? ? preferences.comments[0] : "reddit"
if source.empty?
source = preferences.comments[1]
end