mirror of
https://github.com/iv-org/invidious.git
synced 2025-05-11 02:45:05 -04:00
Add error message when comments are disabled
This commit is contained in:
parent
b173d4acf2
commit
d0fecd2bc0
7 changed files with 52 additions and 11 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue