Add error message when comments are disabled

This commit is contained in:
syeopite
2023-08-08 21:49:06 -07:00
parent b173d4acf2
commit d0fecd2bc0
7 changed files with 52 additions and 11 deletions

View File

@@ -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;