mirror of
https://git.nadeko.net/Fijxu/invidious.git
synced 2025-12-16 09:58:50 +00:00
Add error message when comments are disabled
This commit is contained in:
@@ -53,6 +53,10 @@ function show_youtube_replies(event) {
|
||||
}
|
||||
|
||||
function get_youtube_comments() {
|
||||
if (!video_data.comments_enabled) {
|
||||
return;
|
||||
};
|
||||
|
||||
var comments = document.getElementById('comments');
|
||||
|
||||
var fallback = comments.innerHTML;
|
||||
|
||||
Reference in New Issue
Block a user