mirror of
https://git.nadeko.net/Fijxu/invidious.git
synced 2026-01-30 18:51:17 +00:00
Merge 'Show message when comments are turned off'
From https://github.com/iv-org/invidious/pull/4051
This commit is contained in:
@@ -84,7 +84,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
|
||||
|
||||
Reference in New Issue
Block a user